fbarchard@google.com
e5fbad8f39
Add test for scaling color accuracy
...
BUG=401
TESTED=scale_color test
Review URL: https://webrtc-codereview.appspot.com/39099004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1417 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-06-01 22:57:58 +00:00
yang.zhang@arm.com
94e3d5a3be
Improve the accuracy YUV to RGB for ARMv7 NEON
...
NEON version of YUV422TORGB is updated based on C algorithm. Accuracy YUV to RGB
of NEON is also updated according to test result. Macro LIBYUV_NEON is added to
identify accuracy YUV to RGB for ARM platform.
Except TestJ420 and TestYUV, all the other tests are passed.
BUG=324
TESTED=libyuvTest on ARMv7 with Android
R=fbarchard@google.com
Change-Id: I492ca628679940534f40341721dc5b6dc2d7a5b6
Review URL: https://webrtc-codereview.appspot.com/40609004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1296 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-02-25 06:51:29 +00:00
fbarchard@google.com
e0a2472fb3
Move color space tests into its own source file.
...
BUG=391
TESTED=TestI420
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/35769004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1227 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-01-13 23:47:25 +00:00
fbarchard@google.com
accefc4191
add gyp define to enable svn version check. defaults to off so tests built outside of svn will build/run with a warning but not error.
...
BUG=356
TESTED=set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 libyuv_enable_svn=1
R=thorcarpenter@google.com
Review URL: https://webrtc-codereview.appspot.com/17329004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1075 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-05 00:33:53 +00:00
fbarchard@google.com
455c66b437
Add a gyp define LIBYUV_DISABLE_JPEG to not build jpeg library
...
BUG=346
TESTED=set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1 & python gyp_libyuv -fninja -G msvs_version=2010 libyuv_test.gyp
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/16989004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1038 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-07-28 21:48:43 +00:00
fbarchard@google.com
1347fdea07
add symbols for ios unittests
...
BUG=none
TEST=none
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/15939005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1025 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-06-26 22:52:35 +00:00
fbarchard@google.com
f939fb7661
psnr tool accept jpeg files as well as raw YUV
...
BUG=339
TESTED=psnr.exe feet.jpg bluechicken.jpg
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/12839006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1021 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-06-25 16:54:20 +00:00
fbarchard@google.com
c99fa63f6b
arm64 initial port using C
...
BUG=319
TESTED=GYP_DEFINES="OS=ios target_arch=armv7 target_subarch=64" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS="output_dir=out_ios" ./build/gyp_chromium -f ninja --depth=. libyuv_test.gyp && ninja -j7 -C out_ios/Debug-iphoneos
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/10909004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@994 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-03-29 00:19:06 +00:00
fbarchard@google.com
f2f9dbb644
FixedDiv function in C and benchmark
...
BUG=none
TEST=FixedDiv*
R=johannkoenig@google.com
Review URL: https://webrtc-codereview.appspot.com/1668004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@727 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-06-15 21:10:19 +00:00
fbarchard@google.com
474e0f058f
Convert util
...
BUG=209
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1299006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@651 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-04-09 20:55:05 +00:00
fbarchard@google.com
5ff0e973a9
Disable JPEG for IOS
...
BUG=212
TESTED=Windows built/ran and did not run jpeg unittest out\release\libyuv_unittest --gtest_filter=*J*
Review URL: https://webrtc-codereview.appspot.com/1280005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@638 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-04-03 22:51:42 +00:00
fbarchard@google.com
b36eeee87b
Validate MJPG test performance.
...
BUG=210
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1268004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@626 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-03-28 20:34:57 +00:00
fbarchard@google.com
33d34eaad8
C header compatible
...
BUG=207
TEST=created .c file that includes libyuv.h
Review URL: https://webrtc-codereview.appspot.com/1228004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@617 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-03-22 08:40:40 +00:00
fbarchard@google.com
e424a9de7a
PSNR standalone utility for SSIM and PSNR quality assessment.
...
BUG=204
TESTED=build\gyp_chromium -fninja -G msvs_version=2012 --depth=. libyuv_test.gyp & out\Release\psnr locally tested.
Review URL: https://webrtc-codereview.appspot.com/1216005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@612 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-03-20 23:37:19 +00:00
fbarchard@google.com
1e985bbc16
ARGBSobel
...
BUG=201
TEST=Sobel*
Review URL: https://webrtc-codereview.appspot.com/1221005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@609 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-03-19 19:23:44 +00:00
fbarchard@google.com
f4951e7aee
gcc scale fix and change tabs to spaces in gyps
...
BUG=177
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/1120009
git-svn-id: http://libyuv.googlecode.com/svn/trunk@587 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-28 04:48:17 +00:00
fbarchard@google.com
155c76161a
Add comments to gyp showing what the macros are for.
...
BUG=189
TEST=none
Review URL: https://webrtc-codereview.appspot.com/1113007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@586 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-02-28 00:05:18 +00:00
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
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
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
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
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
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
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
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
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
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
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
145998b64e
make libyuv library depend on libjpeg
...
BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/405001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@186 16f28f9a-4ce2-e073-06de-1de4eb20be90
2012-02-23 04:03:15 +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
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
frkoenig@google.com
93d003f874
YUVToARGB, YUVToBGRA,YUVToABGR optimized.
...
Review URL: http://webrtc-codereview.appspot.com/267022
git-svn-id: http://libyuv.googlecode.com/svn/trunk@86 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-11-19 01:39:57 +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
frkoenig@google.com
bab397f72a
ScaleRowDown4Int_SSE2 was incorrectly computing offset.
...
One of the source lines for ScaleRowDown4Int_SSE2 was
incorrect leading to a bad read. Add a test to catch
this in the future.
Review URL: http://webrtc-codereview.appspot.com/242006
git-svn-id: http://libyuv.googlecode.com/svn/trunk@39 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-21 22:27:20 +00:00
frkoenig@google.com
ed6edcab8b
Fixed image rotators.
...
90, 180, 270 rotate of array with a minimum size of 8x8.
Also deinterleave on rotate for NV12/NV21 formats.
Review URL: http://webrtc-codereview.appspot.com/195002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@23 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-12 21:37:43 +00:00
mikhal@webrtc.org
d191b434b2
Libyuv: 1. Dividing gyp file to test and source. 2. Updating DEPS file to build tests (not only library).
...
Review URL: http://webrtc-codereview.appspot.com/210001
git-svn-id: http://libyuv.googlecode.com/svn/trunk@13 16f28f9a-4ce2-e073-06de-1de4eb20be90
2011-10-07 20:00:23 +00:00