fbarchard@google.com
83a63e65a6
Change YUV_DISABLE_ASM to LIBYUV_DISABLE_NEON, LIBYUV_DISABLE_MIPS, LIBYUV_DISABLE_X86
...
BUG=189
TESTED=try
Review URL: https://webrtc-codereview.appspot.com/1113006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@582 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-27 00:20:29 +00:00
fbarchard@google.com
928483f397
Add I420ToNV12 and NV21 to convert from
...
BUG=178
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1127007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@581 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-26 03:00:31 +00:00
fbarchard@google.com
c0d9c34690
Attenuate and Unattenuate Any variations for sse2, sss3 and avx2
...
BUG=190
TESTED=out\release\libyuv_unittest --gtest_filter=*Unatt*
Review URL: https://webrtc-codereview.appspot.com/1121005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@579 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-21 00:55:47 +00:00
fbarchard@google.com
787f827663
Unattenuate multiply alpha by 1.
...
BUG=190
TESTED=planar_test
Review URL: https://webrtc-codereview.appspot.com/1114005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@578 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-21 00:08:56 +00:00
fbarchard@google.com
3c7bb050bd
Unattenuate AVX2
...
BUG=190
TEST=planar_test
Review URL: https://webrtc-codereview.appspot.com/1112004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@577 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-20 22:18:36 +00:00
fbarchard@google.com
d5ee3dc912
AVX2 Attenuate
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1101014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@576 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-19 12:26:13 +00:00
fbarchard@google.com
caf6e2470b
remove vpermq from ARGBToUV
...
BUG=none
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/1107005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@575 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-15 18:33:20 +00:00
fbarchard@google.com
d8b73cacbe
fix ARGBToI444 UV code to use signed math
...
BUG=148
TESTED=out\release\libyuv_unittest --gtest_filter=*ARGBToI444_Opt
Review URL: https://webrtc-codereview.appspot.com/1105008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@574 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-15 07:49:15 +00:00
fbarchard@google.com
408e574366
Use vmovd to avoid switch to sse mode
...
BUG=none
TEST=c:\intelsde\sde -hsw -- out\release\libyuv_unittest.exe --gtest_filter=*Psnr*
Review URL: https://webrtc-codereview.appspot.com/1097013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@573 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-14 19:03:30 +00:00
fbarchard@google.com
f3ad618d40
Sum of Square Error ported to AVX2
...
BUG=187
TEST=compare_unittest
Review URL: https://webrtc-codereview.appspot.com/1099009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@572 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-13 18:38:03 +00:00
fbarchard@google.com
5f8858665b
Box filter start from 0,0. Fixes crash that overreads horizontally.
...
BUG=185
TEST=scale_test
Review URL: https://webrtc-codereview.appspot.com/1094009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@571 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-12 19:05:40 +00:00
fbarchard@google.com
a00da62e52
Add I422Copy and I444Copy
...
BUG=none
TEST=I422ToI422 and I444ToI444
Review URL: https://webrtc-codereview.appspot.com/1103009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@570 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-11 22:00:24 +00:00
fbarchard@google.com
b444bae883
ARGBToI400 and ARGBToI411 using AVX2. YUY2ToI420 and UVYVToI420 use AVX2. CopyPlane use rep movsb for AVX2. CopyPlane2 use rep movsb for AVX2 and CopyPlane if strides match AVX2, which will do a single rep movsb for entire image if stride == width. MergeUV for I420ToNV12.
...
BUG=181
TESTED=unittests pass
Review URL: https://webrtc-codereview.appspot.com/1103007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@569 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-11 20:30:41 +00:00
fbarchard@google.com
c9562334d7
SplitUV 3 operand AVX2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1105005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@568 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-10 03:42:51 +00:00
fbarchard@google.com
208280598e
Remove vmovdqa from UV code
...
BUG=181
TESTED=c:\intelsde\sde -hsw -- out\release\libyuv_unittest.exe --gtest_filter=*ARGBToI420*
Review URL: https://webrtc-codereview.appspot.com/1091010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@567 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-08 23:27:22 +00:00
fbarchard@google.com
551d2b297e
AVX2 version of ARGBToI420
...
BUG=181
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/1090005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@566 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-08 20:57:52 +00:00
fbarchard@google.com
8e26eada77
Fix for mutated registers on AVX2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1090007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@565 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-08 02:29:21 +00:00
fbarchard@google.com
7d387f155a
Roll chromium dep to r181357
...
BUG=none
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1090006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@564 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-07 21:02:40 +00:00
fbarchard@google.com
61466be698
Enable bilinear instead of box filter if size of destination is greater than source / 2.
...
BUG=185
TEST=unittest still passes
Review URL: https://webrtc-codereview.appspot.com/1103005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@563 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 19:01:47 +00:00
fbarchard@google.com
28e2a9daa0
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
...
BUG=184
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1091007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@561 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 05:49:24 +00:00
fbarchard@google.com
512bec91ed
Disable Neon multiply 2 images
...
BUG=177
TEST=android try bots
Review URL: https://webrtc-codereview.appspot.com/1101005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@560 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-06 05:46:15 +00:00
fbarchard@google.com
af137b61fa
Interpolate for SSE2 with specialization for 1/4, 1/2, 3/4 and 1
...
BUG=177
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1102004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@559 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-05 22:42:56 +00:00
fbarchard@google.com
50d7bf4a8b
if types are already defined, dont define them again.
...
BUG=180
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1098004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@558 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-05 02:17:18 +00:00
fbarchard@google.com
762c050b65
ARGBToI444_SSSE3 port to gcc
...
BUG=148
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1091004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@557 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-04 18:47:21 +00:00
fbarchard@google.com
92352b7081
mips optimized copy for all functions using CopyRows.
...
BUG=176
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1074010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@556 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 19:43:29 +00:00
fbarchard@google.com
d7c7bfac57
Fix lint error in mjpeg and remove unnecessary includes.
...
BUG=none
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1078005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@555 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 05:08:14 +00:00
fbarchard@google.com
c861bfbb0e
memcpy removed from any
...
BUG=176
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1063009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@554 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 00:13:59 +00:00
fbarchard@google.com
cde587092f
Replace two spaces with one after .
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/1063010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@553 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-28 00:02:35 +00:00
fbarchard@google.com
573a883dd6
Subtract 2 images.
...
BUG=179
TEST=planar unittest
Review URL: https://webrtc-codereview.appspot.com/1073004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@551 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-24 23:08:12 +00:00
fbarchard@google.com
8c4e5e284c
Specialize SSE2 filter
...
BUG=177
TEST=unittest scale*
Review URL: https://webrtc-codereview.appspot.com/1069005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@550 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-23 02:05:12 +00:00
fbarchard@google.com
8811289be7
Interpolate ported to SSE2
...
BUG=177
TEST=out\release\libyuv_unittest --gtest_filter=*
Review URL: https://webrtc-codereview.appspot.com/1060006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@549 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-22 19:16:07 +00:00
fbarchard@google.com
70b4928158
SSE2 bilinear fix for posix.
...
BUG=177
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1061004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@548 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-22 07:49:40 +00:00
fbarchard@google.com
0f00506af7
DEPS rolls chromium dependencies to r177738 which is LKGR.
...
BUG=178
TEST=ninja builds still work on x32 bit.
Review URL: https://webrtc-codereview.appspot.com/1066004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@547 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-22 00:53:46 +00:00
fbarchard@google.com
5b0f7e1132
Neon port of ARGBAdd and ARGBMultiply
...
BUG=175
TEST=out\release\libyuv_unittest --gtest_filter=*Add*
Review URL: https://webrtc-codereview.appspot.com/1051005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@545 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-21 08:42:59 +00:00
fbarchard@google.com
29aa2145b7
quick lint fix for any
...
BUG=none
TEST=lint row_any.cc passes
Review URL: https://webrtc-codereview.appspot.com/1046006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@544 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-18 23:43:01 +00:00
fbarchard@google.com
83e1b17cc0
Add 2 ARGB Images together and store to destination
...
BUG=175
TEST=Add unittest
Review URL: https://webrtc-codereview.appspot.com/1049004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@543 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-18 23:03:56 +00:00
fbarchard@google.com
8fa7634994
Blend style multiple
...
BUG=175
TEST=Multiply unittest
Review URL: https://webrtc-codereview.appspot.com/1048004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@542 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-18 02:25:04 +00:00
fbarchard@google.com
8ec6033478
ARGBMultiply 2 images together
...
BUG=175
TEST=Out\release\libyuv_unittest --gtest_filter=*Mult*
Review URL: https://webrtc-codereview.appspot.com/1043004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@541 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-17 20:18:08 +00:00
fbarchard@google.com
a9c9242a55
Roll chromium deps and share 444 and 422 code for ARGBToI422_Any
...
BUG=148
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1033007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@540 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-16 09:48:29 +00:00
fbarchard@google.com
41e972ec31
ARGBToI444_SSSE3 UV function ported. Thanks to changjun.yang@intel.com
...
BUG=148
TESTED=out\release\libyuv_unittest --gtest_filter=*ARGBToI* | grep ms
Review URL: https://webrtc-codereview.appspot.com/1019011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@539 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-16 05:54:56 +00:00
fbarchard@google.com
ba45bbff34
CopyPlane check for contiguous memory and treat image as width * height, 1 image.
...
BUG=176
TEST=I420ToI420
Review URL: https://webrtc-codereview.appspot.com/1021014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@538 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-16 02:03:22 +00:00
fbarchard@google.com
b3c1a3fe79
ARGB Multiply
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1028010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@537 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-12 00:00:59 +00:00
fbarchard@google.com
9780dd4e81
Remove V210. Quality of this code is insufficient for libyuv. Unable to make V210 pass valgrind. Would require effort to add missing support and optimization.
...
BUG=91
TEST=valgrind
Review URL: https://webrtc-codereview.appspot.com/1021009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@536 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-11 23:42:00 +00:00
fbarchard@google.com
734787584d
I420ToV210 unittest enable
...
BUG=91
TEST=valgrind on unittests
Review URL: https://webrtc-codereview.appspot.com/1029009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@535 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-11 19:41:40 +00:00
fbarchard@google.com
a05815b9e4
Update version number to 534
...
BUG=none
TEST=unittests check version
Review URL: https://webrtc-codereview.appspot.com/1031004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@534 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-10 21:07:14 +00:00
fbarchard@google.com
ceee491c24
move READWORD and WRITEWORD into row_common along with row functions that use them
...
BUG=171
TEST=still builds
Review URL: https://webrtc-codereview.appspot.com/1021008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@528 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-09 05:30:08 +00:00
fbarchard@google.com
aa64b6b14c
movbe instruction detect
...
BUG=none
TEST=cpu unittest
Review URL: https://webrtc-codereview.appspot.com/1027005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@527 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-08 18:43:49 +00:00
fbarchard@google.com
bae8b852d8
Roll DEPS for Chromium Ninja build breakage
...
BUG=173
TEST=ninja -C out\Release
Review URL: https://webrtc-codereview.appspot.com/1027004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@526 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 19:38:16 +00:00
fbarchard@google.com
54ce26fca4
Move WRITEWORD to row.h
...
BUG=171
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1025004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@525 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 09:44:45 +00:00
fbarchard@google.com
3ae19cb834
Make 565 use big endian consistent read/write word for s390.
...
BUG=171
TESTED=unittests on x86 not impacted.
Review URL: https://webrtc-codereview.appspot.com/1022006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@524 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-07 06:50:53 +00:00
fbarchard@google.com
d0780dde6e
More fourcc testing
...
BUG=170
TEST=libyuvTest.TestFourCC and TestCanonicalFourCC
Review URL: https://webrtc-codereview.appspot.com/991006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@522 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-18 18:33:16 +00:00
fbarchard@google.com
442b0ad0ac
Call CanonicalCode in convert functions and add unittest for function.
...
BUG=none
TEST=video_common_test added
Review URL: https://webrtc-codereview.appspot.com/1001007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@521 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-18 17:23:15 +00:00
fbarchard@google.com
f491a094c7
mips noexec stack for security safety
...
BUG=168
TESTED=untested
Review URL: https://webrtc-codereview.appspot.com/994006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@520 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-14 00:08:35 +00:00
fbarchard@google.com
308eb0c344
Do not allows the other elfs to run on the chimney stack
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/990004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@519 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-13 18:44:41 +00:00
fbarchard@google.com
578c88a9f7
ARGBShade Neon bug fix on alpha.
...
BUG=168
TESTED=./libyuv_unittest --gtest_filter=*Shade
Review URL: https://webrtc-codereview.appspot.com/985004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@516 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-12 19:27:29 +00:00
fbarchard@google.com
1b40d8caa2
disable shade_neon
...
BUG=168
TEST=TestShade
Review URL: https://webrtc-codereview.appspot.com/971021
git-svn-id: http://libyuv.googlecode.com/svn/trunk@515 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-12 01:49:52 +00:00
fbarchard@google.com
834b748d10
Remove ifdefs around each function for Neon and Mips since entire file requires SIMD.
...
BUG=none
TEST=lint and try bots
Review URL: https://webrtc-codereview.appspot.com/981004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@514 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-11 17:59:26 +00:00
fbarchard@google.com
b91b53481c
ifdef to wrap mips
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/974012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@513 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-11 17:27:33 +00:00
fbarchard@google.com
62154e53a2
Color Matrix for Neon
...
BUG=176
TESTED=*Matrix*
Review URL: https://webrtc-codereview.appspot.com/966033
git-svn-id: http://libyuv.googlecode.com/svn/trunk@512 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-04 01:05:28 +00:00
fbarchard@google.com
c247625d7f
Sepia NEON
...
BUG=167
TEST=*Sepia
Review URL: https://webrtc-codereview.appspot.com/968014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@511 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-04 00:08:35 +00:00
fbarchard@google.com
82375d6de2
Neon version of Gray
...
BUG=176
TEST=./libyuv_unittest --gtest_filter=**Gray*
Review URL: https://webrtc-codereview.appspot.com/929039
git-svn-id: http://libyuv.googlecode.com/svn/trunk@510 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-03 23:33:00 +00:00
fbarchard@google.com
b94b139e86
Shade ported to Neon
...
BUG=167
TESTED=planar test Shade*
Review URL: https://webrtc-codereview.appspot.com/969014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@509 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-03 20:36:40 +00:00
fbarchard@google.com
ef60ab0db4
Quantize for Neon
...
BUG=167
TEST=./libyuv_unittest --gtest_filter=*Quantize
Review URL: https://webrtc-codereview.appspot.com/972010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@508 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-12-03 08:15:31 +00:00
fbarchard@google.com
f3a411834e
lint fixes
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/964024
git-svn-id: http://libyuv.googlecode.com/svn/trunk@507 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-28 20:49:18 +00:00
fbarchard@google.com
1d160cb99f
Attenuate AGRB pixels NEON optimized
...
BUG=164
TEST=./libyuv_unittest --gtest_filter=*Atten*
Review URL: https://webrtc-codereview.appspot.com/937031
git-svn-id: http://libyuv.googlecode.com/svn/trunk@506 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-28 20:02:55 +00:00
fbarchard@google.com
326a521aba
unittest to scale to 1280x720 from whatever current LIBYUV_WIDTH and LIBYUV_HEIGHT are
...
BUG=none
TEST=libyuv_unittest --gtest_filter=*ScaleTo1280*
Review URL: https://webrtc-codereview.appspot.com/969011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@505 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-28 02:23:34 +00:00
fbarchard@google.com
d1cb453c6c
Unittest each scaling filter separately for benchmarking purposes.
...
BUG=155
TEST=*Scale*
Review URL: https://webrtc-codereview.appspot.com/935022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@504 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-26 23:09:45 +00:00
fbarchard@google.com
2580ccf64d
Scale benchmark just the OPT and run C version once.
...
BUG=none
TEST=scale_test
Review URL: https://webrtc-codereview.appspot.com/929028
git-svn-id: http://libyuv.googlecode.com/svn/trunk@503 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-26 22:39:30 +00:00
fbarchard@google.com
95d845bd5b
benchmark only the opt version of rotate.
...
BUG=155
TEST=sudo LIBYUV_REPEAT=1000 nice --5 ./libyuv_unittest --gtest_filter=*Rotate*
Review URL: https://webrtc-codereview.appspot.com/939029
git-svn-id: http://libyuv.googlecode.com/svn/trunk@502 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-26 19:10:35 +00:00
fbarchard@google.com
d6b94fde24
ARGBBlend_Neon take 2 - use 8 bit math to do q reg operations.
...
BUG=161
TEST=planar test
Review URL: https://webrtc-codereview.appspot.com/971004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@501 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-21 16:49:50 +00:00
fbarchard@google.com
579113950c
check for interpolation of 0 and do a memcpy to avoid touching the row + 1 which may be one past the end of the buffer.
...
BUG=153
TEST=valgrind
Review URL: https://webrtc-codereview.appspot.com/930026
git-svn-id: http://libyuv.googlecode.com/svn/trunk@500 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 22:22:33 +00:00
fbarchard@google.com
8f506332af
ARGBBlend_NEON
...
BUG=161
TEST=planar test
Review URL: https://webrtc-codereview.appspot.com/939022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@499 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 20:49:39 +00:00
fbarchard@google.com
dd3b137f5d
ARGBBlend unaligned unittest
...
BUG=160
TEST=libyuvTest.ARGBBlend_Unaligned
Review URL: https://webrtc-codereview.appspot.com/935019
git-svn-id: http://libyuv.googlecode.com/svn/trunk@498 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 19:30:04 +00:00
fbarchard@google.com
b5491759b4
Neon optimized argb filter row for bilinear scale and Effects Interpolate.
...
BUG=none
TEST=./libyuv_unittest --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/964017
git-svn-id: http://libyuv.googlecode.com/svn/trunk@497 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-20 09:44:46 +00:00
fbarchard@google.com
958a0b0c19
lint cleanup
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/931013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@496 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-17 00:00:23 +00:00
fbarchard@google.com
8ef9e0dc4d
ifdef around stdint on android for x86 builds
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/930022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@495 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 19:35:17 +00:00
fbarchard@google.com
8e50e619db
ARGBScale_NEON
...
BUG=none
TEST=./libyuv_unittest --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/964016
git-svn-id: http://libyuv.googlecode.com/svn/trunk@494 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 19:32:16 +00:00
fbarchard@google.com
4a86a836fc
On Neon remove aligned SplitUVRow
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/930020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@493 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 02:51:31 +00:00
fbarchard@google.com
cb5262dbc5
scale by even amounts using Neon
...
BUG=156
TEST=./libyuv_unittest --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/930019
git-svn-id: http://libyuv.googlecode.com/svn/trunk@492 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-16 01:41:35 +00:00
fbarchard@google.com
f08ac6bb09
Rename row functions so they are all SomethingRow_CPU
...
BUG=133
TEST=still builds
Review URL: https://webrtc-codereview.appspot.com/939020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@491 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-15 00:21:14 +00:00
fbarchard@google.com
d985cf1f62
clamp maxy for first row of bilinear
...
BUG=153
TEST=none
Review URL: https://webrtc-codereview.appspot.com/934014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@490 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-14 08:15:55 +00:00
fbarchard@google.com
752cb9e057
Some minor fixes for yuy2, r12 register, mask on any function.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/936023
git-svn-id: http://libyuv.googlecode.com/svn/trunk@489 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-14 05:46:56 +00:00
fbarchard@google.com
3e46444727
Mirror source to continuous destination with Neon
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/937020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@488 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-14 02:03:49 +00:00
fbarchard@google.com
66d16f4100
argb scale 2x upsample with specialization for 25/75%
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/938014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@486 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 20:43:25 +00:00
fbarchard@google.com
f25ab6d8d9
scale to 2x with bilinear subpixel accuracy specialized to have 1/4 and 3/4 scale factors FilterRow.
...
BUG=none
TEST=libyuvTest.I420ToI444_Any
Review URL: https://webrtc-codereview.appspot.com/965021
git-svn-id: http://libyuv.googlecode.com/svn/trunk@485 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 19:09:37 +00:00
fbarchard@google.com
55d5b48e4d
bilinear scale use fast 2 pass unless image is beyond row buffer size.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/965020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@484 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 17:31:08 +00:00
fbarchard@google.com
e0b63e44e0
hook for cygwin and relax argbtoyuy2 for unittest flakey fail
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/966016
git-svn-id: http://libyuv.googlecode.com/svn/trunk@483 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 10:12:28 +00:00
fbarchard@google.com
48072f89af
roll chromium deps to r167318
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/968004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@482 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-13 08:46:45 +00:00
fbarchard@google.com
9573071950
Neon RGB24 to I420
...
BUG=none
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/965018
git-svn-id: http://libyuv.googlecode.com/svn/trunk@481 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-12 20:42:48 +00:00
fbarchard@google.com
522d757c92
Neon optimized ARGBToI444/422/411/420 Any variations, ARGB1555ToI420 Neon, ARGB4444ToI420
...
BUG=148
TEST=sudo LIBYUV_REPEAT=1000 nice --5 ./libyuv_unittest --gtest_filter=*R*ToI4* | sed 's/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g' | sort -rn | grep ms
Review URL: https://webrtc-codereview.appspot.com/936020
git-svn-id: http://libyuv.googlecode.com/svn/trunk@480 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-09 23:14:57 +00:00
fbarchard@google.com
f1daa3db65
Neon RGB To I420
...
BUG=none
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/936015
git-svn-id: http://libyuv.googlecode.com/svn/trunk@479 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-07 08:27:24 +00:00
fbarchard@google.com
dd2d512e5a
420 subsampler
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/935012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@478 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-07 00:53:52 +00:00
fbarchard@google.com
76e851792c
411 subsampled
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/930013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@477 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-06 22:51:39 +00:00
fbarchard@google.com
c4f443f8fe
ARGBToUV422Row_NEON
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/928018
git-svn-id: http://libyuv.googlecode.com/svn/trunk@476 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-06 20:58:24 +00:00
fbarchard@google.com
c673f426de
ARGBToI444 for Neon
...
BUG=none
TEST=libyuvTest.ARGBToI444_Opt
Review URL: https://webrtc-codereview.appspot.com/932013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@475 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-06 18:46:51 +00:00
fbarchard@google.com
c1f17f1843
quick rename bug fix
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/935011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@474 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-06 02:38:45 +00:00
fbarchard@google.com
1dee625093
ARGB1555 and ARGB4444 to I420 Neon
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/965008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@473 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-06 02:14:23 +00:00
fbarchard@google.com
4b4a32cb17
ARGB1555 to ARGB Neon optimized
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/965007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@472 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-06 01:56:52 +00:00
fbarchard@google.com
bdf7cb5914
RGB formats converted to YUV with Neon
...
BUG=none
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/936013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@471 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-05 23:40:11 +00:00
fbarchard@google.com
d8427fd50a
quick fix for source check alignment
...
BUG=none
TEST=none
git-svn-id: http://libyuv.googlecode.com/svn/trunk@470 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-04 02:57:49 +00:00
fbarchard@google.com
6784e4b414
Fix unaligned access violation in YUY2ToARGB
...
BUG=none
TEST=build bot
git-svn-id: http://libyuv.googlecode.com/svn/trunk@469 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-04 02:12:11 +00:00
fbarchard@google.com
793e5a06ff
YUY2ToARGB_NEON in one step
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/964010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@468 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-03 15:12:48 +00:00
fbarchard@google.com
b883ce6e2c
I411ToARGB_NEON and I444ToARGB_NEON port.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/964009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@467 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-02 21:37:41 +00:00
fbarchard@google.com
30859f75f2
Neon YToARGB and fix SSE2 to match C version
...
BUG=none
TEST=YToARGB_Opt
Review URL: https://webrtc-codereview.appspot.com/966007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@466 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-02 09:51:29 +00:00
fbarchard@google.com
00b69a2fe6
I400ToARGB_Neon optimized
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/935010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@465 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-02 06:03:28 +00:00
fbarchard@google.com
f314467665
fix unused variable warning on windows for basic_types
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/928017
git-svn-id: http://libyuv.googlecode.com/svn/trunk@464 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-02 00:58:47 +00:00
fbarchard@google.com
daed763fd3
remove nolint from size tests
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/930009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@463 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-02 00:36:33 +00:00
fbarchard@google.com
2cb7e512ee
Change Mac to long long for int64
...
BUG=140
TESTED=libyuv_unittest.exe --gtest_filter=*Size*
Review URL: https://webrtc-codereview.appspot.com/932010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@462 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-11-01 21:11:42 +00:00
fbarchard@google.com
9f2d404145
Neon 1 step conversion of NV12 to RGB565
...
BUG=136
TEST=unittest on nv12
Review URL: https://webrtc-codereview.appspot.com/939011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@461 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-31 18:36:28 +00:00
fbarchard@google.com
af1aa56f0b
Make I420ToARGB1555, I420ToARGB4444 and I420ToRGB565 call a single function per row, which may be implemented in assembly, but for now the function calls 2 functions internally.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/965006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@459 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-30 21:11:54 +00:00
fbarchard@google.com
c074e88084
FourCC formats grouped, counted with comments
...
BUG=133
TEST=still builds
Review URL: https://webrtc-codereview.appspot.com/964006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@457 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-30 19:52:35 +00:00
fbarchard@google.com
dbcabea057
move rgb565 wrapper to common so it wont inline
...
BUG=137
TEST=hammer builds
Review URL: https://webrtc-codereview.appspot.com/930006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@455 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-29 21:20:25 +00:00
fbarchard@google.com
34d2344458
noinline attribute for apple
...
BUG=137
TEST=NONE
Review URL: https://webrtc-codereview.appspot.com/929010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@453 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-29 20:26:11 +00:00
fbarchard@google.com
15449263c4
NV12ToRGB565 use NV12ToARGB any row function
...
BUG=136
TEST=sudo LIBYUV_REPEAT=1000 nice --5 ./libyuv_unittest --gtest_filter=*565* | grep ms
Review URL: https://webrtc-codereview.appspot.com/965004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@452 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-29 16:24:53 +00:00
fbarchard@google.com
e0d8648b6a
MergeUV aligned and SplitUV cpu detect combined with width check.
...
BUG=none
TEST=libyuvTest.I420ToNV12_Any
Review URL: https://webrtc-codereview.appspot.com/937005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@451 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-27 19:07:55 +00:00
fbarchard@google.com
6c1b2d38c6
Mips port of libyuv. Includes functionality for convert, rotate, scale and memcpy.
...
BUG=126
TESTED=tested by mips
Review URL: https://webrtc-codereview.appspot.com/930005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@449 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-26 22:49:18 +00:00
fbarchard@google.com
1dafd444ba
MergeUV backport to SSE2
...
BUG=135
TESTED=unitest I420ToNV12
Review URL: https://webrtc-codereview.appspot.com/943006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@447 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-26 08:27:36 +00:00
fbarchard@google.com
6bb9f53f4f
Adding I400Mirror allows unittesting of YUV mirroring
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/928008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@446 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-25 20:34:42 +00:00
fbarchard@google.com
b22871fe4f
Fix valgrind error on I420ToNV12. Do any conversions first, and work toward fastest, which produces more stable results for the tests that matter.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/938005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@445 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-25 20:11:54 +00:00
fbarchard@google.com
d26b451472
I420ToNV12_Neon bug fix
...
BUG=135
TEST=/libyuv_unittest --gtest_filter=*NV*
Review URL: https://webrtc-codereview.appspot.com/939005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@444 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-25 19:24:59 +00:00
fbarchard@google.com
d3728d9222
unittest simplify loop counter
...
BUG=none
TEST=planar unittests
Review URL: https://webrtc-codereview.appspot.com/935006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@443 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-25 17:12:41 +00:00
fbarchard@google.com
bd4fcb9877
Switch to 128x72 for default testing size when not benchmarking.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/935004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@442 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-24 19:52:14 +00:00
fbarchard@google.com
75f90ac315
Add unittest environment variables to set conversion width and height
...
BUG=none
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/932004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@439 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-24 17:43:51 +00:00
fbarchard@google.com
ffeec746eb
Fix for NV12ToRGB565
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/924005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@438 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-23 15:27:47 +00:00
fbarchard@google.com
31d05032f7
I420ToYUY2_Any_Neon to handle odd sizes
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/922007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@437 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-23 09:04:37 +00:00
fbarchard@google.com
62a961bee7
Neon version of I420ToNV12 and I420ToNV21. NV21ToI420 added as function. CopyRow changed to vld4.8 to allow unaligned copy.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/922005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@435 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-22 17:24:50 +00:00
fbarchard@google.com
7411455932
Roll to new chrome for vs2012 builds and fix a warning on vs2012
...
BUG=125
TESTED=local build with gtest errors disabled
Review URL: https://webrtc-codereview.appspot.com/924004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@433 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-22 16:15:25 +00:00
fbarchard@google.com
d39ce16ba0
Turn off rounding in YUV to RGB for NEON. This is to better match the C and SSSE3 versions.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/914005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@430 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-20 01:38:10 +00:00
fbarchard@google.com
0a6b7a6eb7
test rgb565 by converting to ARGB and then doing MSE
...
BUG=114
TEST=libyuvTest.I420ToRGB565_Any
Review URL: https://webrtc-codereview.appspot.com/919004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@428 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-19 20:10:47 +00:00
fbarchard@google.com
b7ae15a236
Neon optimized ARGBToY
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/916004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@427 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-19 08:25:48 +00:00
fbarchard@google.com
db694edfc2
SplitUV_Any variations for all CPUS.
...
BUG=126
TEST=convert tests NV12 with alignments
Review URL: https://webrtc-codereview.appspot.com/896007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@426 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-17 21:54:04 +00:00
fbarchard@google.com
1c396a3d7d
MJPGSize function to query size.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/898004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@425 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-17 04:37:39 +00:00
fbarchard@google.com
02e48bf72b
YUY2 for AVX2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/887006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@424 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-17 02:27:11 +00:00
fbarchard@google.com
0908a701e9
ARGBToY_NEON for faster screencasts
...
BUG=107
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/892004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@423 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-16 22:34:07 +00:00
fbarchard@google.com
de07146fa4
ifdef around mips detect code
...
BUG=none
TEST=build on x86 linux
Review URL: https://webrtc-codereview.appspot.com/889005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@421 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-16 08:38:44 +00:00
fbarchard@google.com
1bdcc4c3e3
rgb565 and argb1555 neon
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/881004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@420 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-15 17:46:59 +00:00
fbarchard@google.com
4862595764
More tests for NV12
...
BUG=none
TEST=*NV12*
Review URL: https://webrtc-codereview.appspot.com/885004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@419 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-14 07:19:31 +00:00
fbarchard@google.com
bb6bddc9fb
Style fixes for mips version of SplitUV for nv12/21
...
BUG=126
TEST=lint passes and rotate_test and cpu_test on try bot pass.
Review URL: https://webrtc-codereview.appspot.com/884004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@418 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-14 06:41:17 +00:00
fbarchard@google.com
c4163acb7b
Additional rotate test
...
BUG=none
TEST=adds new test in rotate_test
Review URL: https://webrtc-codereview.appspot.com/883004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@417 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-14 06:02:28 +00:00
fbarchard@google.com
ca41005256
mips version of SplitUV for nv12/21
...
BUG=126
TEST=rotate_test and cpu_test updated
Review URL: https://webrtc-codereview.appspot.com/879005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@416 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-14 06:01:19 +00:00
fbarchard@google.com
c389e8e3b1
Convert ARGB to ARGB4444 with Neon
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/875004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@415 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-13 02:51:48 +00:00
fbarchard@google.com
179054b813
Zero out the cpuinfo to make valgrind happy.
...
BUG=91
TEST=build bot
Review URL: https://webrtc-codereview.appspot.com/860015
git-svn-id: http://libyuv.googlecode.com/svn/trunk@414 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-12 07:55:28 +00:00
fbarchard@google.com
9de8867ab6
I422ToYUY2_NEON
...
BUG=none
TEST=convert_test *I422ToYUY2*
Review URL: https://webrtc-codereview.appspot.com/869008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@413 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-12 06:23:33 +00:00
fbarchard@google.com
df49992f50
RGBAToARGB_NEON fix.
...
BUG=none
TEST=RGBAToARGB
Review URL: https://webrtc-codereview.appspot.com/868013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@410 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-12 00:51:39 +00:00
fbarchard@google.com
c7277d08e8
Add convert_from_argb.h for all conversion functions from ARGB to something else.
...
BUG=none
TEST=convert_test
Review URL: https://webrtc-codereview.appspot.com/857014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@408 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 23:10:53 +00:00
fbarchard@google.com
0cbbdde3d5
memset v210 destination buffer to 0 to attempt valgrind fix.
...
BUG=91
TEST=I420ToV210
Review URL: https://webrtc-codereview.appspot.com/872008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@407 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 20:53:05 +00:00
fbarchard@google.com
ff6a756a09
V210 avoid cpuid which is failing valgrind
...
BUG=91
TEST=I420ToV210 unittest
Review URL: https://webrtc-codereview.appspot.com/855013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@406 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 20:21:45 +00:00
fbarchard@google.com
f658aebb7c
ARGBToBayer ported to Neon and attempt V210 valgrind fix.
...
BUG=122
TEST=UNITTEST bayer
Review URL: https://webrtc-codereview.appspot.com/873011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@405 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 18:12:51 +00:00
fbarchard@google.com
f09570d5e5
v210 unittest use 128 byte stride
...
BUG=91
TEST=libyuv unittest I420ToV210
Review URL: https://webrtc-codereview.appspot.com/867009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@404 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 08:30:08 +00:00
fbarchard@google.com
4de0c439aa
Enable SSE version of I420ToRAW/RGB24 for Linux/Mac/ChromeOS x86
...
BUG=116
TEST=xcodebuild/Release/libyuv_unittest --gtest_filter=*I420To*R*Opt
Review URL: https://webrtc-codereview.appspot.com/863015
git-svn-id: http://libyuv.googlecode.com/svn/trunk@402 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 01:25:46 +00:00
fbarchard@google.com
8d37dd5c20
Any conversions fix for RGB 3 bytes. Fix for overread valgrind. Avoid memcpy. Add _Any unittests for all conversions.
...
BUG=121
TEST=./libyuv_unittest --gtest_filter=*Any
Review URL: https://webrtc-codereview.appspot.com/873010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@401 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-11 00:07:30 +00:00
fbarchard@google.com
e91bdaca36
Move HalfRow to row_win and port to row_neon
...
BUG=118
TEST=libyuvTest.I420ToI422_OptVsC (247 ms)
Review URL: https://webrtc-codereview.appspot.com/855012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@400 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-09 21:09:33 +00:00
fbarchard@google.com
827de16bb1
I422ToRGB24Row_SSSE3 in 1 pass. Internally converts to ARGB then packs down to RGB.
...
BUG=116
TEST=libyuv unittest
Review URL: https://webrtc-codereview.appspot.com/863013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@399 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-09 03:48:26 +00:00
fbarchard@google.com
6b5a8efff7
I400 invert support which fixes a valgrind bug
...
BUG=117
TEST=I400ToI400Invert_OptVsC
Review URL: https://webrtc-codereview.appspot.com/859010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@398 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-09 02:49:59 +00:00
fbarchard@google.com
f6e4e14713
.neon suffix on neon files
...
BUG=108
TEST=none
Review URL: https://webrtc-codereview.appspot.com/867007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@397 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-09 00:41:57 +00:00
fbarchard@google.com
64ce0ab544
Move Neon source to its own files.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/860009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@396 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-09 00:05:29 +00:00
fbarchard@google.com
4807dea4e7
NV12ToARGBRow_NEON and SetRow8_NEON
...
BUG=115
TEST=./libyuv_unittest --gtest_filter=*NV12ToARGB*
Review URL: https://webrtc-codereview.appspot.com/869006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@395 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-08 10:16:13 +00:00
fbarchard@google.com
82069e7a71
pld and palign for performance consistency.
...
BUG=113
TEST=unittest run on linux neon
Review URL: https://webrtc-codereview.appspot.com/860008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@394 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-05 18:27:23 +00:00
fbarchard@google.com
c74fe98725
YUY2 16 pixels at a time is 2x faster
...
BUG=116
TEST=libyuv_unittest
Review URL: https://webrtc-codereview.appspot.com/870005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@393 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-05 12:00:07 +00:00
fbarchard@google.com
cc206dee46
Fix register used for YUY2 Neon
...
BUG=113
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/858008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@392 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-05 11:03:05 +00:00
fbarchard@google.com
a844b95688
YU12 has a normal fourcc instead of an alias, allowing code to treat it as different, if needed.
...
BUG=112
TEST=unittests still pass
Review URL: https://webrtc-codereview.appspot.com/864008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@391 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-04 21:04:27 +00:00
fbarchard@google.com
6d62980977
Android makefile allow armv6 without neon and x86.
...
BUG=110
TEST=android try bot
Review URL: https://webrtc-codereview.appspot.com/864007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@390 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-04 17:49:07 +00:00
fbarchard@google.com
6325869685
xgetbv instrinsic for 64 bit
...
BUG=106
TEST=untested
Review URL: https://webrtc-codereview.appspot.com/859005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@389 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 17:19:26 +00:00
fbarchard@google.com
8b826a65e6
Use emit for xgetbv on 32 bit.
...
BUG=106
TEST=none
Review URL: https://webrtc-codereview.appspot.com/863004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@388 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 16:45:48 +00:00
fbarchard@google.com
db11d893c2
Check destination alignment for Q420 format when using SSE2.
...
BUG=96
TEST=none
Review URL: https://webrtc-codereview.appspot.com/861004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@387 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 06:45:34 +00:00
fbarchard@google.com
d8a1435fe0
Q420 format redone using YUY2 assembly which supports NEON
...
BUG=96
TEST=local tests in talk do q420 testing on windows.
Review URL: https://webrtc-codereview.appspot.com/856006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@386 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 05:34:59 +00:00
fbarchard@google.com
c05b7c4981
NEON YUY2 Any functions enabled. Previously was inside an SSSE3 ifdef that disabled them
...
BUG=105
TEST=neon build bots
Review URL: https://webrtc-codereview.appspot.com/859004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@385 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 05:18:04 +00:00
fbarchard@google.com
7f4bbdee3b
attribute visible for gcc but not APPLE
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/856005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@384 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 03:32:33 +00:00
fbarchard@google.com
2e4fccde02
fix ifdef elif in attribute
...
BUG=none
TEST=none
git-svn-id: http://libyuv.googlecode.com/svn/trunk@383 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 03:04:25 +00:00
fbarchard@google.com
2605e02178
Use no attribute on gcc unless using shared lib or making shared lib
...
BUG=none
TEST=none
git-svn-id: http://libyuv.googlecode.com/svn/trunk@382 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-10-01 02:59:58 +00:00
fbarchard@google.com
dd46dac03a
ALIGNP test if ALIGNP is already defined to avoid a redefine. Allows new ALIGNP to coexist with old libjingle version of ALIGNP when integrating into chromium.
...
BUG=104
TEST=build chromium against libyuv
Review URL: https://webrtc-codereview.appspot.com/857004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@381 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-30 19:08:23 +00:00
fbarchard@google.com
c1daff11eb
row.h nolint on header guard
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/853004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@380 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-27 22:02:58 +00:00
fbarchard@google.com
fc7314e86b
Add exports to allow libyuv to be built as a shared lib.
...
BUG=99
TEST=shared lib builds without impact and unittests link against import lib.
Review URL: https://webrtc-codereview.appspot.com/844005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@379 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-27 02:17:51 +00:00
fbarchard@google.com
275913410d
Redo register usage for Neon to avoid callee saved d8 - d15. Use d0 - d7 instead.
...
BUG=64
TEST=none
Review URL: https://webrtc-codereview.appspot.com/846005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@378 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-26 17:55:37 +00:00
fbarchard@google.com
aa4750f86d
Move sub before store to avoid wait on core2.
...
BUG=101
TEST=none
Review URL: https://webrtc-codereview.appspot.com/846006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@377 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-26 17:04:51 +00:00
fbarchard@google.com
fb49764705
Use emit for xgetbv in vs2005
...
BUG=98
TEST=build with vs2005
Review URL: https://webrtc-codereview.appspot.com/845005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@375 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-26 00:10:54 +00:00
fbarchard@google.com
4c32b3a017
Port xgetbv to posix
...
BUG=98
TEST=none
Review URL: https://webrtc-codereview.appspot.com/848004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@374 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-25 23:46:44 +00:00
fbarchard@google.com
78070bc1ba
Added CPUID change to detect AVX2.
...
BUG=98
TEST=none
Review URL: https://webrtc-codereview.appspot.com/839004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@373 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-25 19:13:04 +00:00
fbarchard@google.com
cad0ad303c
I422ToRGBA, I422ToBGRA and I422ToABGR.
...
BUG=73
TEST=I422ToRGBA_OptVsC
Review URL: https://webrtc-codereview.appspot.com/819008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@372 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-23 15:37:39 +00:00
fbarchard@google.com
dddf94c343
YUY2 and UYVY conversions to I420 ported to NEON
...
BUG=64
TEST=untested
Review URL: https://webrtc-codereview.appspot.com/823007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@371 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-21 17:54:23 +00:00
fbarchard@google.com
f0ada0e90b
Pad source RGB buffer by 16 to allow overread in ARGBToRGB24
...
BUG=94
TEST=Build bots
Review URL: https://webrtc-codereview.appspot.com/827004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@370 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-21 01:00:40 +00:00
fbarchard@google.com
797e9ef871
5 RGB formats to ARGB ported to NEON
...
BUG=68
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/825004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@369 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-20 21:24:10 +00:00
fbarchard@google.com
5808cb22ce
Neon optimized RAW (RGB big endian)
...
BUG=68
TEST=unittest on try bot
Review URL: https://webrtc-codereview.appspot.com/819005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@368 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-20 05:05:33 +00:00
fbarchard@google.com
64961c01b2
ARGBToRGBA_NEON and ARGBToRGB24_NEON
...
BUG=68
TEST=none
Review URL: https://webrtc-codereview.appspot.com/816004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@367 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-19 20:03:20 +00:00
fbarchard@google.com
6fd84a8a59
NV12 optimization turned back on now that unittest is fixed
...
BUG=55
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/813005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@366 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-19 07:35:45 +00:00
fbarchard@google.com
855c3a3d9e
Android.mk moved into libyuv to central support
...
BUG=93
TEST=none
Review URL: https://webrtc-codereview.appspot.com/807005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@365 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-19 07:27:17 +00:00
fbarchard@google.com
2d61b7495d
I422ToRGBARow_NEON optimized
...
BUG=78,93
TEST=android build bot
Review URL: https://webrtc-codereview.appspot.com/815004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@364 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-19 02:13:24 +00:00
fbarchard@google.com
7c4656317c
cpuid on nonx86 has an unused parameter.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/814004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@363 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-18 23:37:23 +00:00
fbarchard@google.com
7781d943b0
Disable V210 unittest that fails valgrind, and some warning fixes for android.
...
BUG=91
TEST=try
Review URL: https://webrtc-codereview.appspot.com/813004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@362 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-18 22:58:34 +00:00
fbarchard@google.com
5625adfa12
Respect HAVE_JPEG and build cleanly
...
BUG=93
TEST=none
Review URL: https://webrtc-codereview.appspot.com/812004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@361 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-18 21:31:21 +00:00
fbarchard@google.com
142f6c4ed5
Move row.h to include and remove rotate_priv.h
...
BUG=93
TESTED=try server
Review URL: https://webrtc-codereview.appspot.com/811004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@360 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-18 20:56:51 +00:00
fbarchard@google.com
25dc05858e
RGBAToI420_SSSE3 and I420ToRGBA_SSSE3 implemented.
...
BUG=78
TESTED=gcl lint
Review URL: https://webrtc-codereview.appspot.com/796009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@359 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-18 05:35:30 +00:00
fbarchard@google.com
13f3894033
Fix for subsampling that caused a valgrind memcheck fail.
...
BUG=79
TEST=build bots should pass
Review URL: https://webrtc-codereview.appspot.com/806005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@358 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-17 21:19:34 +00:00
fbarchard@google.com
bc81e2dc05
Clean up line warnings on long lines mostly.
...
BUG=90
TEST=lint run on all source
Review URL: https://webrtc-codereview.appspot.com/795009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@357 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-17 19:49:15 +00:00
fbarchard@google.com
caba6c10fb
Small fix for ABGR
...
BUG=78
TESTED=unittest
Review URL: https://webrtc-codereview.appspot.com/798009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@356 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-16 23:45:55 +00:00
fbarchard@google.com
d5a27f0533
RGBA to and from I420 with C implementation.
...
BUG=78
TEST=planar_test
Review URL: https://webrtc-codereview.appspot.com/798007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@355 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-16 23:27:29 +00:00
fbarchard@google.com
9bcc9a2535
ARGBInterpolateRow_SSSE3 for motion blur. Used to use bilinear row filter, which extrudes edges. This branches off the code so the extrude can be removed for Interpolate.
...
BUG=none
TEST=build\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*
Review URL: https://webrtc-codereview.appspot.com/786007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@354 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-16 05:00:37 +00:00
fbarchard@google.com
a2cc341b6c
ARGBToRGBA implemented as alias
...
BUG=78
TEST=unittest
Review URL: https://webrtc-codereview.appspot.com/788009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@353 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-14 18:09:41 +00:00
fbarchard@google.com
6ccda3d206
Add environment variable for tests to repeat for benchmarking purposes.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/796006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@352 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-14 15:35:34 +00:00
fbarchard@google.com
b8eabfea64
RGBAToARGB conversion. SSSE3 optimized.
...
BUG=78
TEST=RGBA unittests
Review URL: https://webrtc-codereview.appspot.com/788008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@351 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-14 06:59:31 +00:00
kjellander@google.com
1c5cab8e11
Added try server to codereview.settings.
...
Review URL: https://webrtc-codereview.appspot.com/776006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@350 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-13 20:09:31 +00:00
fbarchard@google.com
cded3e566b
interpolate stores/restores an extra byte, so asan complains about the potential danger. This pads the buffer by 16, which is what the user is expected to do, for now at least.
...
BUG=81
TESTED=asan on unittests
Review URL: https://webrtc-codereview.appspot.com/799005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@349 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-13 11:19:00 +00:00
fbarchard@google.com
06f275cc44
a tsan build caused UYVY unittest to fail. This re-enables the test and fixes the bug.
...
BUG=80
TEST=unittest with tsan or use build bots
Review URL: https://webrtc-codereview.appspot.com/804004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@348 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-13 09:58:33 +00:00
fbarchard@google.com
008e5eb689
produce a warning if versions are slightly off.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/796004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@347 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-12 01:13:01 +00:00
fbarchard@google.com
bb757cdc24
Bump chromium revision to r154697 to pick up new yasm that fixes 2 build warnings.
...
BUG=84
TEST=libyuv builds and passes unittests
Review URL: https://webrtc-codereview.appspot.com/795005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@345 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-11 22:08:58 +00:00
fbarchard@google.com
853dc689bf
Allow TextVersion to be with 5 of actual version. This allows a few changes without failing the unittest before version.h must be updated. Note that changes of documentation count.
...
BUG=none
TEST=TestVersion passes, even though this CL purposely does not update the version.
Review URL: https://webrtc-codereview.appspot.com/781007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@344 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-11 06:15:16 +00:00
fbarchard@google.com
93fdfd19fe
llvm/clang does not support attribute optimize. Disable the OMITFP macro for llvm. #if defined(__APPLE__) || defined(__x86_64__) || defined(__llvm__)
...
BUG=83
TEST=webrtc build bots
Review URL: https://webrtc-codereview.appspot.com/787007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@342 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-10 21:20:10 +00:00
fbarchard@google.com
feb589f6ce
Disable v210 test which fails under valgrind. 210 is a very uncommon format, but leverages UYVY, which also fails.
...
BUG=82
TEST=build bot
Review URL: https://webrtc-codereview.appspot.com/787006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@341 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-10 20:21:47 +00:00
fbarchard@google.com
78b2d9ae9b
Disable 3 tests that fail valgrind memcheck, tsan and asan tests
...
BUG=79,80,81
TEST=none
Review URL: https://webrtc-codereview.appspot.com/789004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@340 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-09-10 19:50:09 +00:00
fbarchard@google.com
b8f820af71
make const int into int
...
BUG=none
TEST=lint
Review URL: https://webrtc-codereview.appspot.com/766007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@338 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-30 22:57:02 +00:00
fbarchard@google.com
26d088e770
Unittest fix 80 column limit
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/762007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@337 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-30 22:31:27 +00:00
fbarchard@google.com
de6eca3104
Change unittest to default to 1 iteration of each test. Can be change manually to 1000 for benchmarking purposes.
...
BUG=77
TEST=build\release\libyuv_unittest.exe
Review URL: https://webrtc-codereview.appspot.com/768006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@336 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-30 21:18:10 +00:00
fbarchard@google.com
d4164fb01a
Clean up posix build of YUY2
...
BUG=76
TEST=build on osx/linux
Review URL: https://webrtc-codereview.appspot.com/762006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@335 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-30 20:42:01 +00:00
fbarchard@google.com
6343f22bb5
YUY2 and UYVY to ARGB had oversampling bug. This passes 0 for UV stride, avoiding the issue. A better solution would be a version of the conversions that does not do 2 rows subsampled. But the performance would only be slightly faster.
...
BUG=76
TEST=build\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*UY*ToARGB*
Review URL: https://webrtc-codereview.appspot.com/773004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@333 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-30 08:30:38 +00:00
fbarchard@google.com
5ef7680eae
Change size of V210 in unittest from 3 bytes to 45 / 16 bytes.
...
BUG=75
TEST=build\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=**V210*
Review URL: https://webrtc-codereview.appspot.com/762005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@332 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-29 23:51:38 +00:00
fbarchard@google.com
bf8b0f0e2b
Bug fix for I420ToI400 and unittest all I420To packed formats. Most import of the new I420 tests is I420ToYUY2.
...
BUG=none
TEST=libyuvTest.I420ToI400_OptVsC
Review URL: https://webrtc-codereview.appspot.com/767004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@331 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-28 17:58:10 +00:00
fbarchard@google.com
b1f5fae637
YUY2ToI420_OptVsC unittest added. As well as all other packed formats to I420.
...
BUG=71
TESTED=build\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=libyuvTest.*OptVsC
Review URL: https://webrtc-codereview.appspot.com/764004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@330 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-28 16:45:48 +00:00
fbarchard@google.com
051cef4a0a
Compare util show version. (bug fix for Mac)
...
BUG=71
TESTED=xcodebuild -project libyuv_test.xcodeproj -configuration Release
Review URL: https://webrtc-codereview.appspot.com/745006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@326 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-27 19:57:46 +00:00
fbarchard@google.com
aeaefa8344
vqrdmulh takes 3 parameters and clang requires all 3 to be specified, not just 2.
...
BUG=72
TEST=none
Review URL: https://webrtc-codereview.appspot.com/744006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@325 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-23 04:11:25 +00:00
fbarchard@google.com
619ee4586b
YUV_DISABLE_ASM for NEON
...
BUG=70
TEST=none
Review URL: https://webrtc-codereview.appspot.com/710013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@324 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-17 21:07:22 +00:00
fbarchard@google.com
41f24bf8ca
Affine function in 64 bit Mac use movd instead of movq for xmm to gpr.
...
BUG=69
TEST=NONE
Review URL: https://webrtc-codereview.appspot.com/728011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@323 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-17 16:51:25 +00:00
fbarchard@google.com
f3181b3cf9
Fix aligned version of SSSE3 alpha blend and re-enable SSE2 alpha blend for performance evaluation on low end CPUs where pshufb is slow.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/728009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@322 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-15 18:57:18 +00:00
fbarchard@google.com
f877e71995
Alpha blend test alignment of source pointer and use movdqa aligned fetches.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/714010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@321 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-15 00:51:24 +00:00
fbarchard@google.com
e3cc76943e
4 pixel version of affine for gcc and aligned version of win.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/714007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@320 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-10 20:41:27 +00:00
fbarchard@google.com
845e94d1a7
Affine do 4 pixels at a time.
...
BUG=none
TEST=affine unitest
Review URL: https://webrtc-codereview.appspot.com/729005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@319 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-10 03:48:21 +00:00
fbarchard@google.com
749950d7fd
Fix a warning on win64.. unused variable.
...
BUG=61,62
TEST=build 64 bit on windows
Review URL: https://webrtc-codereview.appspot.com/717011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@318 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-09 19:48:41 +00:00
fbarchard@google.com
7344440fb2
AffineRow for GCC.
...
BUG=62
TEST=planar_unittest
Review URL: https://webrtc-codereview.appspot.com/733004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@317 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-09 17:33:29 +00:00
fbarchard@google.com
2a95465795
HAVE_ARGBAFFINEROW_SSE2 macro
...
BUG=62
TEST=none
Review URL: https://webrtc-codereview.appspot.com/716006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@316 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-08 23:18:56 +00:00
fbarchard@google.com
92e51c7a69
ARGBAffineRow_C for non-SSE2 machine.
...
BUG=62
TEST=TestAffine unittest added to planar_test
Review URL: https://webrtc-codereview.appspot.com/731004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@315 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-08 21:29:34 +00:00
fbarchard@google.com
b0c9797589
Update Copyright notice to follow new chromium conventions.
...
BUG=63
TEST=none
Review URL: https://webrtc-codereview.appspot.com/730004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@314 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-08 19:04:24 +00:00
fbarchard@google.com
864f828a01
ARGBAffineRow_SSE2 function to copy pixels from a source with slope to a row of destination.
...
BUG=60
TEST=none
Review URL: https://webrtc-codereview.appspot.com/727004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@313 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-08-08 18:10:15 +00:00
fbarchard@google.com
4f10e97ff2
A compare utility that reports psnr, mse and hash values
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/709005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@312 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-27 17:59:09 +00:00
fbarchard@google.com
4f45c11aaf
Allow use of the system libjpeg.
...
BUG=56
TEST=gentoo builds chromium with libyuv with system jpeg
Review URL: https://webrtc-codereview.appspot.com/699005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@311 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-24 18:32:05 +00:00
fbarchard@google.com
68f0d3df5e
NV12ToARGB for linux appears to have a bug in the assembly so this disables the asm for posix. It still works on Windows. Unittests updated to show the amount of pixel difference.
...
BUG=55
TEST=out/Release/libyuv_unittest --gtest_filter=*
Review URL: https://webrtc-codereview.appspot.com/675008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@310 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-23 16:01:09 +00:00
fbarchard@google.com
eeac2903ef
ARGBGrayTo takes source and destination pointers so caller does not need to make a copy of the image.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/696004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@308 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-18 18:54:32 +00:00
fbarchard@google.com
c0d6dee4f3
Fix for ARGBColorTable x86 assembly. Sav
...
BUG=51
TEST=TestARGBColorTable
Review URL: https://webrtc-codereview.appspot.com/667011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@307 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-18 17:58:30 +00:00
fbarchard@google.com
452472dfc4
Internals of scale use ptrdiff_t to allow ARGBInterpolate to use stride between 2 images.
...
BUG=53
TEST=none
Review URL: https://webrtc-codereview.appspot.com/695004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@306 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-16 22:58:35 +00:00
fbarchard@google.com
4403be58ae
remove space hash hash from unittests and add bpp enum
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/690004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@305 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-14 01:27:57 +00:00
fbarchard@google.com
8e01bfb420
Disable x86 color table optimization - fall back on C only
...
BUG=51
TESTED=warmify effect
Review URL: https://webrtc-codereview.appspot.com/673013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@304 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-13 19:05:08 +00:00
fbarchard@google.com
b50e0572f2
Save and restore last 16 bytes of filtered rows when used for ARGBInterpolate.
...
BUG=50
TEST=none
Review URL: https://webrtc-codereview.appspot.com/673012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@303 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-13 01:58:53 +00:00
fbarchard@google.com
05b5cf9610
move a macro and comment
...
BUG=49
TEST=untested
Review URL: https://webrtc-codereview.appspot.com/668012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@302 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-13 01:16:28 +00:00
fbarchard@google.com
0d95d47757
ARGBInterpolate for blending 2 images with a fractional amount of each.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/670008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@300 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-12 03:28:09 +00:00
fbarchard@google.com
6398e1d4eb
Port ARGBShade to Mac
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/679009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@299 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-11 19:12:32 +00:00
fbarchard@google.com
c4c578e327
Flat shade an ARGB image
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/683004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@298 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-10 23:44:29 +00:00
fbarchard@google.com
c4500c9f79
ConvertToARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/673007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@297 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-07-09 19:49:45 +00:00
fbarchard@google.com
a537bbdc59
test some problematic scale factors
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/678006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@296 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-27 23:42:19 +00:00
fbarchard@google.com
f37f9a3542
Avoid lint warnings on header guards.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/668006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@295 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-27 23:40:23 +00:00
fbarchard@google.com
d51c342521
Rotate ARGB using a scale function that reads with step, combining to form 16 bytes at a time.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/674007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@294 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-26 23:46:25 +00:00
fbarchard@google.com
4d2cfd329a
Change name of variable for mac because static cant be used so variables need to be unique.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/672006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@293 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-25 20:09:31 +00:00
fbarchard@google.com
27d42c7ff6
Expose ARGB rotation using scale low levels
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/675004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@292 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-22 23:57:26 +00:00
fbarchard@google.com
8f439eac1d
ARGBColorMatrixRow_SSSE3 use signed psraw instead of psrlw before doing pack
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/652009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@291 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-21 02:00:34 +00:00
fbarchard@google.com
d9eb63fc16
UNDER_ALLOCATED_HACK for scale that detects odd width and odd height were miscalculated and adjusts scaler for it.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/663007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@290 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-21 01:13:44 +00:00
fbarchard@google.com
81b804e35c
ARGBQuantize to do a posterizing effect. Added random resolution unittest.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/654005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@289 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-20 02:15:01 +00:00
fbarchard@google.com
e442dc4c2a
ARGBcolorMatrix for applying transforms such as grey and sepia in a more general form. Unittest does sepia for comparison.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/656004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@288 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-18 17:37:09 +00:00
fbarchard@google.com
794fe1236a
alpha blend 4 pixel loop bug fix and blender C code match SSE for better testability and reference code for future optimized code.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/645008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@287 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-15 01:05:01 +00:00
fbarchard@google.com
ee2208885f
Fix constant in rowposix, remove addrow and minor cleanups
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/637013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@286 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-14 00:07:56 +00:00
fbarchard@google.com
bac5f2c3ee
ARGBBlend functions that handle any alignment and number of pixels
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/635011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@285 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-13 23:43:12 +00:00
fbarchard@google.com
133adc4647
followup cleanup for blur and make compilable with /clr
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/645007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@284 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-12 05:46:49 +00:00
fbarchard@google.com
f38aefef4b
Blur use circular buffer of Cumulative Sums instead of full frame for better cache coherency.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/646008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@283 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-12 00:29:29 +00:00
fbarchard@google.com
f51e87912e
Blur functions
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/633005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@282 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-10 02:40:04 +00:00
fbarchard@google.com
2d9fe08225
direct conversion from NV12 to ARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/645004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@281 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-05 22:11:34 +00:00
fbarchard@google.com
7c8e16f82a
Add MJPGToARGB conversion directly to ARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/635006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@280 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-05 17:27:51 +00:00
fbarchard@google.com
4c416e8849
Fix for I444ToARGBRow_Unaligned_SSSE3, I422ToARGBRow_Unaligned_SSSE3, I411ToARGBRow_Unaligned_SSSE3 on Windows using movdqu instead of movdqa. break YUVTORGB into 2 macros - one to fetch pixels, another to do YUV conversion. Less duplicated source and lends itself to future YUV formats.
...
BUG=none
TEST=WebRtcVideoFrameTest.ConvertToARGBBufferStride
Review URL: https://webrtc-codereview.appspot.com/644004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@279 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-05 15:48:07 +00:00
fbarchard@google.com
43279ffda0
ARGBToI422 which is similar to ARGBToI420
...
BUG=none
TEST=libyuvTest.ARGBToI422_CvsOPT (836 ms)
Review URL: https://webrtc-codereview.appspot.com/637006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@278 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-05 02:09:39 +00:00
fbarchard@google.com
e214fe3f07
I411ToARGB doing 2 UV values with 8 Y values
...
BUG=40
TEST=planar_test
Review URL: https://webrtc-codereview.appspot.com/637005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@277 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-04 23:47:11 +00:00
fbarchard@google.com
6d6b7709f7
Fix RGB565ToARGB_SSE2. Expose rgb conversions. Low levels were already there for i420 to rgb, but rgb to rgb functions were not exposed. Added unittests.
...
BUG=none
TEST=planar unittests
Review URL: https://webrtc-codereview.appspot.com/632004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@276 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-04 15:29:15 +00:00
fbarchard@google.com
85869c87f3
UYVYToARGB and ARGBToRGB565 added for more ARGB support completeness.
...
BUG=38
TEST=none
Review URL: https://webrtc-codereview.appspot.com/624004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@275 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-06-01 05:44:36 +00:00
fbarchard@google.com
b4a1182ffd
Add LIBYUV_SVNREVISION macro and planar unittest fix/improvement
...
BUG=30
TESTED=libyuvTest.TestVersion
Review URL: https://webrtc-codereview.appspot.com/619007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@274 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-31 18:15:51 +00:00
fbarchard@google.com
7afffcc4d0
For cpu's with Neon, set arm as well. Make unittest allow testdata unaccessable but try proc/cpuinfo
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/610005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@273 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-30 18:30:03 +00:00
fbarchard@google.com
ab41581844
Change cpu id constants to hex to indicate they are flags. Reserve values for future flags. make unittest print in hex. Add environment variables to disable sse42 and avx.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/608006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@272 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-30 15:56:32 +00:00
fbarchard@google.com
4ae6b46ce1
Add SSE42 and AVX detect
...
BUG=none
TEST=libyuvTest.TestCpuHas
Review URL: https://webrtc-codereview.appspot.com/607006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@271 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-30 03:02:52 +00:00
fbarchard@google.com
221e602f8a
ARGBSepia planarfunction for converting a region of ARGB image to Sepia tone. ARGBGray optimized weaving of alpha value. 551 ms from 568 ms.
...
BUG=none
TEST=libyuv_unittest --gtest_filter=*ARGBSepia*
Review URL: https://webrtc-codereview.appspot.com/573008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@270 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-21 22:24:41 +00:00
fbarchard@google.com
ffaea7eee3
ARGBGray function for convertion a rectangle of ARGB to gray scale
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/582007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@269 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-18 19:43:59 +00:00
fbarchard@google.com
9c02ba532f
ARGBUnattenuateRow_C use same table as ARGBUnattenuateRow_SSE2. omit-frame-pointer for ScaleRowDown38_3_Int_NEON
...
BUG=35
TESTED=disable asm and run unittest on x86
Review URL: https://webrtc-codereview.appspot.com/585004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@268 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-17 22:49:31 +00:00
fbarchard@google.com
600587d1f0
Change scale 3/8 to use scratch registers for constants
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/576011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@267 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-15 05:41:56 +00:00
fbarchard@google.com
f2d84dddd2
scale ported to OSX for 32/64 bit. Required breaking up some functions into 2 or 3 asm inlines to set constants. Reworked storing of 6 bytes on all platforms for 3/4 scale by storing first 4 bytes and then storing last 4 bytes, overlapping 2, in order to stay within SSE2 registers.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/582004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@266 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-14 20:23:35 +00:00
fbarchard@google.com
68caaed871
Port Even ARGBScale to gcc
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/566010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@264 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-09 22:52:23 +00:00
fbarchard@google.com
c7bd1dbea6
remove extra lea on gcc libyuv scale
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/562007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@263 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-09 21:55:02 +00:00
fbarchard@google.com
ca4749dd4d
Scale Even sizes
...
BUG=none
TEST=build\release\libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*ARGBScale*
Review URL: https://webrtc-codereview.appspot.com/570005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@262 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-09 20:27:10 +00:00
fbarchard@google.com
2e786a73ce
Filter Rows in C fix
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/564005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@261 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-09 02:33:58 +00:00
fbarchard@google.com
8b14c5c4e4
Rewrite filtering for benefit of Mac as a single ASM block. Builds both 32 and 64 bit.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/577004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@260 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-09 00:41:13 +00:00
fbarchard@google.com
0b0e91792f
libyuv::CpuId as function to reduce header dependencies
...
BUG=none
TEST=libyuv_unittest.exe --gtest_catch_exceptions=0 --gtest_filter=*Cpu*
Review URL: https://webrtc-codereview.appspot.com/566007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@259 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-08 02:04:22 +00:00
fbarchard@google.com
d05ec087d9
expose __cpuid for gcc/visual c compatibility
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/574004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@258 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-07 22:36:39 +00:00
fbarchard@google.com
4e6c1fd42a
scale_argb module for point and bilinear scaling of ARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/549004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@256 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-03 06:17:44 +00:00
fbarchard@google.com
5bf29b59db
p2align all loops, copy stride to local for scale, and copy last byte in bilinear more efficiently
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/547007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@255 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-02 00:10:16 +00:00
fbarchard@google.com
f906ae1360
scale to half size handle unaligned memory
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/543006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@254 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-05-01 00:30:51 +00:00
fbarchard@google.com
87e2390fd8
YUY2 directly to ARGB.
...
BUG=31
TEST=none
Review URL: https://webrtc-codereview.appspot.com/537003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@253 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-27 20:14:09 +00:00
fbarchard@google.com
5566302866
AddRow function to help implement box filter
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/527002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@252 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-26 00:01:41 +00:00
fbarchard@google.com
5ff3a8fec5
ARGBBlendRow1_SSSE3 added to allow SSSE3 only alpha blending. Saves on SSE2 cpu dispatching
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/518002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@251 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-24 19:43:45 +00:00
fbarchard@google.com
da5cc4274b
Prune SSE2 code out when building specifically for SSSE3
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/517001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@250 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-24 06:01:32 +00:00
fbarchard@google.com
ebe9ae9b21
scale unrolled to 2 pixels for C code
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/520001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@249 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-24 06:01:18 +00:00
fbarchard@google.com
85ebc8e20b
HashDjb2_SSE41 ported to gcc. gcc 4.5 required for pmulld instruction.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/506002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@248 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-23 20:09:35 +00:00
fbarchard@google.com
c428470315
Scale fix for Neon
...
BUG=19
TEST=none
Review URL: https://webrtc-codereview.appspot.com/504002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@247 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-22 15:00:50 +00:00
fbarchard@google.com
5e642d0ea7
Neon constants need address of not value
...
BUG=19
TEST=none
Review URL: https://webrtc-codereview.appspot.com/510002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@246 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-21 01:04:46 +00:00
fbarchard@google.com
4660679ff3
fix missing asm and version
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/508003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@245 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-20 23:30:51 +00:00
fbarchard@google.com
f2c86d01cc
SSSE3 version using pshufb for ARGBAttenuateRow_SSSE3
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/490011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@243 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-18 19:12:41 +00:00
fbarchard@google.com
8ed54222e7
Attenuation ported to SSE2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/485009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@242 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-18 17:07:07 +00:00
fbarchard@google.com
f86ba32b9d
Unattenuate using a reciprocal
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/487006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@241 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-18 00:35:55 +00:00
fbarchard@google.com
829e7ea402
ARGBAttenuate and ARGBUnattenuate for converting to/from attentuated ARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/490008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@240 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-17 00:49:28 +00:00
fbarchard@google.com
96af870c8a
Port Blend SSSE3 to gcc
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/491001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@239 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-06 18:22:27 +00:00
fbarchard@google.com
4d3bd8343b
unaligned sse4 djb2 cleanup
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/486001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@238 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-06 00:27:09 +00:00
fbarchard@google.com
ddf9051bd9
DJB2 hash with SSE4 pmulld
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/484002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@237 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-05 20:44:03 +00:00
fbarchard@google.com
c5d44a0c5e
cpuid add sse41 and x86
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/485001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@236 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-05 20:39:42 +00:00
fbarchard@google.com
1702ec78f8
use movdqu on 2nd source for blend
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/479001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@235 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-05 01:15:12 +00:00
fbarchard@google.com
d2f4413d29
Remove old alpha blend, expose GetARGB2Blend, fix ComputeSumSquareErrorPlane on SSE2
...
BUG=29
TEST=none
Review URL: https://webrtc-codereview.appspot.com/469005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@234 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-04 21:53:27 +00:00
fbarchard@google.com
c757f308ea
Alpha blend 2 sources and store to a destination. Useful for A under B blending.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/472005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@233 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-04-03 00:49:16 +00:00
fbarchard@google.com
952a507ca6
I420ToARGB without row buffer faster and unlimited in size. Uses SSSE3 unaligned for multiples of 8 and C for remainder
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/470001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@232 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-30 18:10:50 +00:00
fbarchard@google.com
f3fb7b6920
Lint cleanup for Neon and Visual C inline.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/464002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@231 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-29 23:19:34 +00:00
fbarchard@google.com
5b22506b14
With an asm() away lint, this cleans up most remaining issues.
...
BUG=none
TEST=lint filename
Review URL: https://webrtc-codereview.appspot.com/464001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@230 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-29 02:19:26 +00:00
fbarchard@google.com
427f966645
fix const correctness on mjpeg
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/463003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@229 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-28 20:03:01 +00:00
fbarchard@google.com
8647dd755e
Pointer has * attached to type for consistency and lint
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/463002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@228 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-28 19:38:06 +00:00
fbarchard@google.com
0945c57874
Rotate by 180 in place.
...
BUG=18
TEST=none
Review URL: https://webrtc-codereview.appspot.com/456010
git-svn-id: http://libyuv.googlecode.com/svn/trunk@227 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-28 02:58:26 +00:00
fbarchard@google.com
299c97412c
Blend SSSE3 for Win32 but not Win64
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/461008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@226 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-28 02:09:40 +00:00
fbarchard@google.com
e2a55aff59
JPEG use new/delete instead of scoped pointer
...
BUG=none
TEST=jpeg still runs ok
Review URL: https://webrtc-codereview.appspot.com/456006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@225 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-27 21:28:05 +00:00
fbarchard@google.com
74b50f1b89
Expose scale plane function
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/459009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@224 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-27 02:09:03 +00:00
fbarchard@google.com
4f59bcc102
planarfunction build/lint fixes
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/460008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@223 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-26 17:11:27 +00:00
fbarchard@google.com
e14b2abba4
small count
...
Review URL: https://webrtc-codereview.appspot.com/460007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@222 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-26 16:15:15 +00:00
fbarchard@google.com
0ab5440693
lint cleanup of headers
...
BUG=none
TEST=gcl lint
Review URL: https://webrtc-codereview.appspot.com/459003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@221 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-23 21:17:22 +00:00
fbarchard@google.com
2b9c210803
lint fix test
...
BUG=none
TEST=gcl lint lintfix2
Review URL: https://webrtc-codereview.appspot.com/458003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@220 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-22 22:36:44 +00:00
fbarchard@google.com
8670b1ae04
SSSE3 version of alpha blender does pshufb instead of shift and 2 pshufw.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/446008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@219 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-19 16:50:03 +00:00
fbarchard@google.com
67be98bd44
psnr function was using C. unittest fixed and warnings improved
...
BUG=21,22
TEST=build\release\libyuv_unittest.exe --gtest_filter=*
Review URL: https://webrtc-codereview.appspot.com/447013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@218 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-19 16:49:12 +00:00
fbarchard@google.com
d4840d4fe9
Rotate any format by converting into an I420 buffer and then rotating that
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/446009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@217 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-19 15:52:55 +00:00
fbarchard@google.com
91ab139558
inline version of alpha blend
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/446006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@216 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-15 19:40:07 +00:00
fbarchard@google.com
18184fd19d
switch looping to jg from ja to allow non-multiple of 16 to underflow to a negative
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/453001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@214 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-12 18:53:19 +00:00
fbarchard@google.com
1ff0357103
ARGBBlendRow to dispatch to sse2
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/447003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@213 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-12 18:24:15 +00:00
fbarchard@google.com
53a0166719
bilinear ssse3 fix
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/452001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@212 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-10 00:55:53 +00:00
fbarchard@google.com
2217ced8cd
gcc port fixed for alpha
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/449002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@211 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-09 22:44:57 +00:00
fbarchard@google.com
976423feca
alpha blend last pixel fix
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/439008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@210 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-08 18:39:39 +00:00
fbarchard@google.com
90310ddbb9
add environment variable to scale to override default filtering
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/442001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@209 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-08 04:01:50 +00:00
fbarchard@google.com
bd4a849bcb
fix for nv21 u, v order, align all loops, and make addrows support 1 row
...
BUG=17
TEST=none
Review URL: https://webrtc-codereview.appspot.com/435004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@208 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-07 19:19:03 +00:00
fbarchard@google.com
ba3aeed3b8
gcc port of alpha blend and add align to row_win loops
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/439006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@207 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-07 18:24:51 +00:00
fbarchard@google.com
c6e7e2a853
addrow fix
...
Review URL: https://webrtc-codereview.appspot.com/437003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@206 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-07 06:11:14 +00:00
fbarchard@google.com
9198f3754b
rm for stride in addrows for clang on mac to not run out of registers
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/440001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@204 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-06 20:18:27 +00:00
fbarchard@google.com
965fb914ea
alpha blend argb into argb
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/428009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@203 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-06 18:49:39 +00:00
fbarchard@google.com
16a96645b4
splituv and mirroruv in row use 2 pixels at a time in C
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/432006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@201 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-02 22:38:09 +00:00
fbarchard@google.com
f69e90a19e
mirror munging and avoid wait. scale addrows use 6 registers for mac
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/426007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@200 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-02 19:07:15 +00:00
fbarchard@google.com
2bc55fa320
unittest fixes for neon and convert_from include
...
BUG=11
TESTED=tested on windows when run from root of libyuv
Review URL: https://webrtc-codereview.appspot.com/426004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@199 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-03-02 16:59:42 +00:00
fbarchard@google.com
e74ae8ef6c
scale AddRows use 4 registers instead of 5 for benefit of OSX
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/423001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@192 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-29 19:07:20 +00:00
fbarchard@google.com
4e21867163
addrows improvements for general purpose down size box filter. scale sse avoid pushad. sub ecx before store to avoid wait
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/405007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@191 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-28 00:29:02 +00:00
fbarchard@google.com
0b9a65b0dc
CopyRow_Neon reimplemented with vldm
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/412001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@190 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-24 21:17:17 +00:00
fbarchard@google.com
aaf5f675b3
copyrow for neon but not thumb for cros
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/408004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@189 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-24 10:58:45 +00:00
fbarchard@google.com
41ac71d207
remove jpeg from includes since dependency does that
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/405002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@188 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-23 20:01:48 +00:00
fbarchard@google.com
4339f09d60
bilinear scaling improvements
...
-subpixel accurate for scaling down by passing in x and dx.
-blend for bilinear use single multiply instead of 2 multiplies.
-filter col do 2 pixels at a time
-assembly do address munging
-assembly avoid wait on store for core2
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/397012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@187 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-23 10:52:55 +00:00
fbarchard@google.com
57397ebafd
avoid new/delete for mjpeg_decoder
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/404001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@185 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-23 01:20:58 +00:00
fbarchard@google.com
724d0c1b8e
gyp build for jpeg
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/392022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@184 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-23 00:25:29 +00:00
fbarchard@google.com
2842f2536d
safe for x86 and memset for arm
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/401005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@183 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-22 18:52:29 +00:00
fbarchard@google.com
8058db48d0
ifdef around jpeg
...
Review URL: https://webrtc-codereview.appspot.com/392021
git-svn-id: http://libyuv.googlecode.com/svn/trunk@182 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-21 22:51:56 +00:00
fbarchard@google.com
392cc2c425
MJPGToI420
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/396014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@181 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-21 22:36:52 +00:00
fbarchard@google.com
8536b2f389
Add 411 for MJPG and fix neon warnings
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/399013
git-svn-id: http://libyuv.googlecode.com/svn/trunk@180 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-21 21:02:54 +00:00
fbarchard@google.com
48f5dd39b8
fix ifdef mismatch
...
Review URL: https://webrtc-codereview.appspot.com/391016
git-svn-id: http://libyuv.googlecode.com/svn/trunk@179 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-18 00:19:06 +00:00
fbarchard@google.com
714050a29d
sse version of BGRA and ABGR To I420
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/400004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@178 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-17 22:59:56 +00:00
fbarchard@google.com
69fe6bd1ff
mjpeg class for low level interface. higher level will be MJPGToI420
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/400002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@177 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-17 19:46:26 +00:00
fbarchard@google.com
19932f8dbc
CopyRow instead of memcpy for copying planes
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/396008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@175 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-16 22:19:14 +00:00
fbarchard@google.com
2d11d43a6e
shuffle functions so convert.h is all formats to I420 and convert_from.h is from I420 to all formats
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/395006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@174 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-16 02:50:39 +00:00
fbarchard@google.com
032b5f990f
port I420ToYUY2 code to support I420ToYUY2 I422ToYUY2 and I420ToV210
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/388011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@173 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-14 20:31:25 +00:00
fbarchard@google.com
798197fc14
remove deprecated RGB24ToARGB, rename BG24ToARGB to RGB24ToARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/392009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@172 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-14 18:17:12 +00:00
fbarchard@google.com
c8c8047d43
V210 fourcc support for AJA cards. Make UYVYToI420 use 'Last16' method for 'Any'. also YUY2, ARGB, BGRA and ABGR
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/388008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@171 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-14 00:11:15 +00:00
fbarchard@google.com
b95dbf2495
check pointer of last pixel and last pixel + 64 are in the same page.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/387006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@170 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-11 01:18:30 +00:00
fbarchard@google.com
567244c003
minor fixups
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/388001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@169 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-07 23:54:52 +00:00
fbarchard@google.com
e5f3fd4cc8
YUY2 and UYVY Unaligned and any versions
...
TEST=none
BUG=none
Review URL: https://webrtc-codereview.appspot.com/379009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@168 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-06 22:40:32 +00:00
fbarchard@google.com
79a06ac5fe
omp friendly version of psnr
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/378007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@167 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-06 22:33:09 +00:00
fbarchard@google.com
3e34b8e89d
hash funtion for comparing images
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/380006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@166 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-06 22:05:16 +00:00
fbarchard@google.com
8ae294e440
handle last 1 or 2 rows of 3/4 and 3/8 scalers with careful vertical filtering
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/380004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@165 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-02 22:33:21 +00:00
fbarchard@google.com
57261c1920
change switch statements to return instead of assert fixing warning on missing break.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/382004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@164 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-02 09:18:50 +00:00
fbarchard@google.com
0a5da88f61
unaligned raw/rgb24 to ARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/366014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@163 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-30 23:32:50 +00:00
fbarchard@google.com
b1dd02d66c
Unaligned test/moves for some of the slower functions
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/368011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@162 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-30 20:54:49 +00:00
fbarchard@google.com
b5b27d131a
ARGBToYUV with sse3 on any size/alignment
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/366011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@161 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-28 08:44:35 +00:00
fbarchard@google.com
caf3952548
YUV and ARGB to RGB formats w/ Any variations to allow destination to be misaligned and any number of bytes
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/368009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@160 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-27 01:45:22 +00:00
fbarchard@google.com
56c1847fd5
bump version to match revision. add unittest
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/369016
git-svn-id: http://libyuv.googlecode.com/svn/trunk@159 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-26 22:37:31 +00:00
fbarchard@google.com
2fc56673c1
cpuid build fix for linux/non
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/366007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@158 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-26 19:05:59 +00:00
fbarchard@google.com
e3ebe7a5cd
Neon instructions detect without using NDK so it will work within Android, and on other linux arm based platforms and builds
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/358008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@153 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-26 02:14:52 +00:00
fbarchard@google.com
0abb8dda2d
detect neon for ndk but not sdk
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/366005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@152 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-25 19:34:49 +00:00
fbarchard@google.com
7be186ab2b
Add libyuv/version.h header to help users determine api
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/369009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@151 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-24 20:57:38 +00:00
fbarchard@google.com
5343a7301b
Make Bayer functions with same parameters as RGB conversions allowing consistant usage and testing. Functions are implemented with wrappers to single function for 4 fourccs. New I420ToBayer functions implemented similar to 2 step I420ToRGB565 etc.
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/367002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@150 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-24 19:43:29 +00:00
fbarchard@google.com
d1943b39e5
add dest alignment check for NV12ToARGB
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/360003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@143 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-19 21:24:15 +00:00
fbarchard@google.com
fc99814a92
NV12ToARGB function for ios
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/352014
git-svn-id: http://libyuv.googlecode.com/svn/trunk@142 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-19 19:20:06 +00:00
fbarchard@google.com
1eb4034778
ConvertFrom remove sample size and add stride
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/356001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@141 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-19 18:54:35 +00:00
fbarchard@google.com
9eefb2e8dd
ARGBToRGB functions optimized
...
BUG=none
TEST=media_unittest.exe --gunit_catch_exceptions=0 --yuvconverter_repeat=1000 --gunit_filter=LmiVideoFrameTest.ConvertTo*R*
Review URL: https://webrtc-codereview.appspot.com/355002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@138 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-18 23:56:30 +00:00
fbarchard@google.com
782659b07c
ConvertFromI420Stride is same as ConvertFromI420 but accepts a stride per row. Only works on single plane formats
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/353007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@137 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-18 21:25:06 +00:00
fbarchard@google.com
1de81bca84
NV12ToRGB565 rewritten. Row functions with SSSE3 and NEON. Stride by bytes (bug fix). Handle odd sizes. Support inversion.
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/344012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@134 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-13 19:27:42 +00:00
fbarchard@google.com
a7d977ceae
RGBP, RGBO, R444 fourcc support
...
BUG=none
TEST=camtool with xo175
Review URL: http://webrtc-codereview.appspot.com/347001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@128 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-09 20:01:08 +00:00
fbarchard@google.com
17f198cd46
cleanup of include order, std include comments on what function they are for, and guard naming to match folder
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/333028
git-svn-id: http://libyuv.googlecode.com/svn/trunk@125 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-01-04 02:21:05 +00:00
mikhal@webrtc.org
afcde1b226
Adding video_common to libyuv include list
...
Review URL: http://webrtc-codereview.appspot.com/331018
git-svn-id: http://libyuv.googlecode.com/svn/trunk@121 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-27 23:59:42 +00:00
mikhal@webrtc.org
0090434e53
libyuv: Moving video_common to the include directory and updating rgb convert orientation.
...
Review URL: http://webrtc-codereview.appspot.com/333022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@120 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-27 23:22:44 +00:00
fbarchard@google.com
c9911bcba1
more functions added for convertFromI420
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/333015
git-svn-id: http://libyuv.googlecode.com/svn/trunk@118 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-21 03:37:37 +00:00
fbarchard@google.com
52f5bb91be
A ConvertFromI420 function. Supports basic conversion with no clipping, inversion or rotation, for a subset of formats - most of the single plane formats, all 3 plane formats and no 2 plane formats. (ie nv12)
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/329011
git-svn-id: http://libyuv.googlecode.com/svn/trunk@117 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-21 02:06:21 +00:00
fbarchard@google.com
9d206a29cd
cygwin compatibility fix for ifdef underscores, and __inline for C vs inline which is C++
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/335003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@115 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-19 19:04:46 +00:00
fbarchard@google.com
8b6d7d72f9
I400 to 420 for MJPG internals
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/328008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@113 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-16 19:43:29 +00:00
fbarchard@google.com
45b9ef0f6a
scale call copyplane in planarfunctions
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/335002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@112 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-16 03:34:09 +00:00
fbarchard@google.com
9cece4b198
change int8 to signed char for compatibility with chromium type
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/318012
git-svn-id: http://libyuv.googlecode.com/svn/trunk@105 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-14 02:05:23 +00:00
fbarchard@google.com
fe5ff7ed54
clang on linux prefers no args for rep movsl/stosl. ifdef for C that removes namespace. extern c allows c++ to be used to compile, including with namespace, but C program can link libyuv
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/320004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@101 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-10 07:45:58 +00:00
fbarchard@google.com
ca26f860b9
ARGBRect use SetRows32 to do full image. 744 ms -> 288 ms on Linux, 688 ms -> 277 ms on Mac. Started ARGBCopy function.
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/290006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@95 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-12-01 23:29:14 +00:00
fbarchard@google.com
3e8a577bb3
add ARGBRect, fix for 444 support in ConvertToI420
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/289003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@93 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-23 18:58:38 +00:00
fbarchard@google.com
3c00cf04f3
inline cpuid for better branch prediction
...
BUG=none
TEST=disassembly shows 6 instructions (due to auto init)
Review URL: http://webrtc-codereview.appspot.com/285001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@90 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-22 00:40:39 +00:00
fbarchard@google.com
12d048335d
I420Mirror rewrite, I420Copy movdqa, I444To420, I420To422
...
Review URL: http://webrtc-codereview.appspot.com/267025
git-svn-id: http://libyuv.googlecode.com/svn/trunk@89 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-21 23:54:38 +00:00
frkoenig@google.com
c82af4a59c
Order includes.
...
Use the following order.
local
system
libyuv
Review URL: http://webrtc-codereview.appspot.com/270007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@76 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-11 00:54:34 +00:00
fbarchard@google.com
d4ff5b42e6
document ConvertToI420 parameters
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/267008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@75 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-11 00:06:01 +00:00
frkoenig@google.com
2cb934c624
PSNR and SSIM plane comparision functions.
...
Code sourced from libvpx.
http://www.webmproject.org/code/#libvpx_the_vp8_codec_sdk
Review URL: http://webrtc-codereview.appspot.com/267004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@72 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-10 20:52:24 +00:00
fbarchard@google.com
124b76e5c9
add a comparison function
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/270005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@68 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-10 20:13:42 +00:00
mikhal@webrtc.org
b744e3734a
libyuv: Updating general functions:
...
1. Deleting Crop and CropPad functions
2. Moving I420Mirror to planar functions
3. deleting general.h and general.cc
Review URL: http://webrtc-codereview.appspot.com/269008
git-svn-id: http://libyuv.googlecode.com/svn/trunk@67 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-10 18:44:37 +00:00
fbarchard@google.com
b61497636a
ARGB to and from I420 ported to x64
...
BUG=none
TEST=media_unittests
Review URL: http://webrtc-codereview.appspot.com/266003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@61 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-07 21:58:52 +00:00
fbarchard@google.com
9394ed99fc
ARGB To I420 and variations using row functions
...
BUG=none
TEST=media_unittests from talk used to benchmark
Review URL: http://webrtc-codereview.appspot.com/254001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@51 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-31 21:36:47 +00:00
fbarchard@google.com
891091c6d4
cpu_id using one variable and make it more public how to set flags to disable SIMD
...
BUG=none
TEST=scale unittest in talk disables SSSE3
Review URL: http://webrtc-codereview.appspot.com/239018
git-svn-id: http://libyuv.googlecode.com/svn/trunk@47 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-29 00:18:58 +00:00
fbarchard@google.com
585a126140
rewrite ARGBToI420 with SSSE3
...
TEST=talk unittests
BUG=none
Review URL: http://webrtc-codereview.appspot.com/251003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@46 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-28 23:51:08 +00:00
fbarchard@google.com
780203897c
rotate for x86 and bayer refactored - 3x faster.
...
BUG=1
TEST=tested with talk unittests.
Review URL: http://webrtc-codereview.appspot.com/250004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@42 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-27 20:52:52 +00:00
mikhal@webrtc.org
93c6df7024
libyuv: updating header includes
...
Review URL: http://webrtc-codereview.appspot.com/246004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@40 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-22 00:40:22 +00:00
fbarchard@google.com
3c0099d09a
update planar header
...
BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/240006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@34 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-20 17:39:19 +00:00
frkoenig@google.com
3de12ae1c6
I420 and NV12 rotate functions.
...
Consolidate rotate files. Add unit tests for I420
and NV12 rotate functions. Fix remaining pitch/stride
references.
Review URL: http://webrtc-codereview.appspot.com/239001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@32 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-19 17:52:15 +00:00
fbarchard@google.com
a1280730c2
cleanup yuv for consistency. stride, return int, negative heights, inplace conversions, lower case names, filter enum, uint, planarfunction updates, remove common.h, remove common/ folder, cpuid header public, move headers into libyuv/, add libyuv.h, fixed header guards, remove internal timing from scale, tweaks for llvm build, videocommon simplified
...
BUG=none
TEST=Talk builds on all platforms against libyuv.
Review URL: http://webrtc-codereview.appspot.com/226003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@31 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-14 17:50:12 +00:00
mikhal@webrtc.org
ec9d86cab3
libyuv: Adding I420rotate. Updating gyp file to include rotation.
...
Review URL: http://webrtc-codereview.appspot.com/230002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@30 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-14 01:37:12 +00:00
mikhal@webrtc.org
74534808aa
libyuv: reverting last update to general.h + renaming cut to crop
...
Review URL: http://webrtc-codereview.appspot.com/225001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@27 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-13 23:10:54 +00:00
mikhal@webrtc.org
43575c8fa5
Libyuv: Numerous changes
...
Review URL: http://webrtc-codereview.appspot.com/217007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@22 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-12 18:49:21 +00:00
mikhal@webrtc.org
abe14f80ba
libyuv: Adding conversion functions
...
Review URL: http://webrtc-codereview.appspot.com/213005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@21 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-11 23:35:31 +00:00
mikhal@webrtc.org
280f4fd8bb
LibYuv: Updating convert file: 1. Adding RawToI420 2. Adding support for odd dimensions 3. Removing I420ToRGB565Android and updating I420ToRGB565 to support negative height as invert 4. Adding convert class 5. Removing YV12 functionality 6. Adding I420ToBGRA 7. Coding style updates
...
Review URL: http://webrtc-codereview.appspot.com/214006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@20 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-11 22:42:13 +00:00
mikhal@webrtc.org
dd8aae4cb3
LibYuv: Updates to general functionality.
...
Review URL: http://webrtc-codereview.appspot.com/219003
git-svn-id: http://libyuv.googlecode.com/svn/trunk@18 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-11 19:03:20 +00:00
mikhal@webrtc.org
283eb139df
LibYuv: General updates
...
Review URL: http://webrtc-codereview.appspot.com/220004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@17 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-11 18:22:34 +00:00
mikhal@webrtc.org
120d5e7310
libyuv: Updating planar functions
...
Review URL: http://webrtc-codereview.appspot.com/209002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@12 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-07 17:57:17 +00:00
mikhal@webrtc.org
aed1cc94c1
first draft
...
git-svn-id: http://libyuv.googlecode.com/svn/trunk@2 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-09-28 00:06:25 +00:00