Jason Sams
36fa5a42ba
Fix aprox fs function names
...
bug b206696
Change-Id: I64c092c1f6b8d990783bf5d31db37e12a4dbdb82
2012-09-20 17:30:34 -07:00
Stephen Hines
5ca88a103c
Merge "Add tests for pass-by-value kernels." into jb-mr1-dev
2012-09-20 09:55:25 -07:00
Jason Sams
97e9ee2ea8
Cleanup blur test, remove deprecated functions.
...
Change-Id: I4136110692fdba8a644806fe8c92bfaacc930ca6
2012-09-20 01:07:35 -07:00
Stephen Hines
263459d028
Add tests for pass-by-value kernels.
...
Bug: 7166741
Change-Id: I8bb37b9205c146a922c141665a86ce8013ad4f0a
2012-09-19 20:47:43 -07:00
Jason Sams
08a81583c1
Add Kernel, Method, and field IDs
...
bug 7182873
Change-Id: I066a359bb04027e9376dac088560f042c496b10e
2012-09-18 12:32:10 -07:00
Stephen Hines
2f2f0d40e8
Merge "Failing uchar4->int4 test" into jb-mr1-dev
2012-09-13 19:45:56 -07:00
Jason Sams
80d819033d
Unhide intrinsics and document API.
...
Change-Id: I0233245c68f9a08780213062e62cfea6cf909c13
2012-09-13 17:00:48 -07:00
Jason Sams
bd6acda96f
Merge "Fix bugs in grain where values could go out of bounds." into jb-mr1-dev
2012-09-13 14:44:34 -07:00
Jason Sams
8a95803738
Fix bugs in grain where values could go out of bounds.
...
Change-Id: Ib2cc3177424cf24bc81b75786dfd9be30fea5378
2012-09-13 11:07:33 -07:00
Stephen Hines
58b2b24128
Updated tests for simpler ScriptC constructors.
...
Change-Id: Ia1f66a3598a979924ccbf857093693135012c4c9
2012-09-12 21:45:56 -07:00
Jason Sams
3a5b801176
LUT intrinsic and CrossProcess test.
...
5x5 convolve and test
Gauss blur and test
Change-Id: Ic2f5d583cbdc1793ec8c8e2beea783d4ec34a57f
2012-09-08 22:16:22 -07:00
Jason Sams
c1ccbf5231
Add greyscale intrinsic test.
...
Change-Id: I24c9b8769ab7fe2fed9ef17f7ff1063c60977c41
2012-09-06 23:54:05 -07:00
Jason Sams
8fd5853c1c
Document ColorMatrix intrinsic and add helpers
...
Increase size of test image.
Add helpers for greyscale and yuv<>rgb conversions
Change-Id: I6cdd06ae23623b47f5034585ed5d385ff11348ac
2012-09-06 23:29:36 -07:00
Jason Sams
6d617c2ddd
Merge "Stabilize perf data." into jb-mr1-dev
2012-09-05 13:50:36 -07:00
Jason Sams
76fb2973b9
Stabilize perf data.
...
Change-Id: I75fb31b1bb6e6a7a5a82b86fd4a6639dd328ceaa
2012-09-05 13:18:43 -07:00
Jason Sams
5729fcdf95
Add ColorMatrix Intrinsic.
...
Add better intrinsic testing.
Include reference .rs for each intrinsic.
Change-Id: I327649f16ac8f641c2bd96f7b16f51874a3e820e
2012-09-04 19:57:40 -07:00
Jason Sams
c3f6d184bb
update image processing to fix ScriptGroup names.
...
Change-Id: Id3be5142ad740af65f3ce19b9d8047926bb55a85
2012-09-04 15:25:34 -07:00
Stephen Hines
7bb5745b97
Failing uchar4->int4 test
...
BUG=7081293
This demonstrates the missing vmovl.u16 for expanding the unsigned char input.
Change-Id: I14f560e0fb1efd1c283d2e0a87f5506ca28cf88d
2012-08-29 20:17:57 -07:00
Jason Sams
f9678070a0
Merge "Fix bug in grain." into jb-mr1-dev
2012-08-21 17:09:56 -07:00
Jason Sams
a8309cb7ee
Merge "Move the kernel launch to specific intrinsic class." into jb-mr1-dev
2012-08-21 17:08:17 -07:00
Stephen Hines
cdb05977ac
Merge "Switch to v8 (and appropriate llvm-rs-cc stuff)." into jb-mr1-dev
2012-08-21 16:01:30 -07:00
Jason Sams
f1c051b6f2
Fix bug in grain.
...
Compare with 0 was done against unsigned which did not
correctly clamp.
Change-Id: I6dbff36190c279961017e57db3aaba51c60a0ad3
2012-08-21 15:54:07 -07:00
Jason Sams
19e1086df1
Move the kernel launch to specific intrinsic class.
...
This allows support of both input types. Kernel source
and global source.
Change-Id: Iea60bebd79c786795eae81c14cbec352b470a9c0
2012-08-21 15:53:29 -07:00
Jean-Baptiste Queru
02df84a3b1
am 34d85746: am b8da225f: Merge "Tests/RS: Add RS context check for RsBalls setAccel()"
...
* commit '34d8574665caaef52f7c595b57f45f1c9efd7e39':
Tests/RS: Add RS context check for RsBalls setAccel()
2012-08-21 14:02:02 -07:00
Yong Chen
da1c93ae4d
Tests/RS: Add RS context check for RsBalls setAccel()
...
mRS could be null when lock and unlock screen by pressing power key
several times, it causes RsBalls crash. Add null pointer check to fix.
Change-Id: If37dee8609420daaff17772d5194cad5531f98e6
Author: Yong Chen <yong.a.chen@intel.com>
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 31271
2012-08-17 10:04:21 +08:00
Stephen Hines
31bc7f9f21
Merge "Initial version of Renderscript Compute Benchmark" into jb-mr1-dev
2012-08-16 14:38:43 -07:00
Stephen Hines
9196c9a0c3
Merge "Fisheye filter: approx version, general performance improvements" into jb-mr1-dev
2012-08-16 14:37:34 -07:00
Stephen Hines
65b8734400
Switch to v8 (and appropriate llvm-rs-cc stuff).
...
Change-Id: Ib3f71442af4aa06a55d5a9f819b52082e23dddd6
2012-08-16 14:01:17 -07:00
Rajeev Sharma
000dc53ca9
Initial version of Renderscript Compute Benchmark
...
Tests all library functions with all input types and outputs timing data via
rsDebug. Also tests all basic numerical operations and type conversions.
Change-Id: I39038606776bbf7361d5fc7a9a3ec3b05b8e6ae0
2012-08-15 21:58:19 -07:00
Rajeev Sharma
50b1ba0083
Fisheye filter: approx version, general performance improvements
...
Lightly refactor original filter and rework math for performance. Add approx
version which uses approx_rsqrt, approx_sqrt, and the new approx_atan function.
Change-Id: I796d50da05c1684167696ea4da37d7d75fc78626
2012-08-15 21:50:42 -07:00
Jason Sams
ebefb2c3d8
Testing java compat lib for RS.
...
Change-Id: I77a19dea9f6b9513b79ae6b686dfe1803bb4cd98
2012-08-15 17:26:39 -07:00
Jason Sams
6ab97682fd
Intrinsics test
...
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
2012-08-14 12:06:00 -07:00
Jason Sams
dc39e86cdc
Fix build issue with new error checks.
...
Change-Id: Iccb9c12e0427622964a52806652eaddfb5834240
2012-08-10 16:29:00 -07:00
Jason Sams
423ebcb4dc
Implement ScriptGroup and add test.
...
Change-Id: I6ce0479c20f425d501c759c15717aa8b418c3f5f
2012-08-10 16:02:33 -07:00
Rajeev Sharma
6e1b917759
Add case for NEON min to RSTest
...
Regression test for bug 6841495.
Change-Id: If98380f402a711592dcddba5438e3cce5b008131
2012-08-07 14:30:50 -07:00
Rajeev Sharma
8fa57118ad
Add approximate version of Vignette filter to Image Processing test
...
Currently uses approx_recip and approx_length (thus approx_sqrt). Will use
approx_exp once this is implemented.
Change-Id: I9f01023105e82a82262100d8ed831e9250a05ed8
2012-08-06 14:22:54 -07:00
Rajeev Sharma
c1deaa221f
Vignette filter: precompute more values, simplify math, cleanup code
...
Change-Id: I29cfc313a5173fd393944dd9af58d0111a3d726a
2012-08-01 15:46:30 -07:00
Jason Sams
41bd3508e7
save 2ms replace div with mul.
...
Change-Id: I13d80b074b70cd2edd71f33e2881aa367b7652c7
2012-07-30 16:41:18 -07:00
Rajeev Sharma
bb0dbf7373
Add vignette filter to Image Processing test
...
Add a vignette filter, mostly based on the GLSL version in
android.filterpacks.imageproc.VignetteFilter but with more input options.
Change-Id: I6f38a0ca09d35566104ec8e8523548399b8704a0
2012-07-27 11:03:52 -07:00
Rajeev Sharma
bb2c947636
Add fisheye filter to Image Processing benchmark
...
Add a fisheye filter, mostly based on the GLSL version in
android.filterpacks.imageproc.FisheyeFilter but with the configurable center
functionality from the JNI version in the original PhotoEditor.
Change-Id: I6be7d82bf2ad564919f9e675ac9a445fae6c440a
2012-07-27 11:01:36 -07:00
Rajeev Sharma
a807a50cf2
Add unsigned tests to math agreement test
...
All operations on unsigned tests were previously commented out due to
bug 6764163. Signed char vectors remain commented out due to bug
6865598, but unsigned char vectors appear to be working properly.
Change-Id: I723c43fe69a78c8f8e03ed1e4db95f73966fcaad
2012-07-25 15:47:25 -07:00
Stephen Hines
85dae98ca1
Test for unsigned RS setters.
...
BUG=6764163
This verifies that we don't trample memory with our unsigned set_*()
operations. Previous versions of llvm-rs-cc generated code that could
accidentally overwrite neighboring locations (due to setVar() being
called on the larger Dalvik types for unsigned globals).
Change-Id: I014496122a05cf425efa160978d0738a5233742e
2012-07-25 11:45:28 -07:00
Stephen Hines
b10f455e44
Merge "Updated math_agree test"
2012-07-20 15:52:42 -07:00
Rajeev Sharma
5666d8f4fb
Updated math_agree test
...
Tests for min, max, fmin, and fmax. Currently has tests for chars and longs as well as all unsigned types disabled due to outstanding Renderscript/LLVM bugs. Will enable those tests cases once bugs are fixed.
Change-Id: I80474f7b68a7916c2172056421db7d170d00f1cb
2012-07-20 15:47:20 -07:00
Jason Sams
4a45de8c5f
Add film grain test.
...
Change-Id: Ic7c7d7f66fbcf9a9e7a031a4c34f9a1372f0a7b7
2012-07-20 15:40:45 -07:00
Jason Sams
52541816fb
Refactor ImageProcessing benchmark and stabilize results.
...
Change-Id: I3d43bf855515a3ab707089e97cc310b561683f5f
2012-07-19 16:31:47 -07:00
Jason Sams
702fb2c502
Cleanup filter preview test.
...
Change-Id: I626a1261affb86499ec398678523b0fe9e5fe679
2012-07-10 14:18:45 -07:00
Jason Sams
ba929942f1
Merge "Filter performance tests."
2012-07-02 18:16:43 -07:00
Stephen Hines
10efb53234
Switch to "tests" instead of "optional" for build.
...
Change-Id: Iaea3819c18be34b5c3864015316b67397c928f2d
2012-07-02 16:40:48 -07:00
Jason Sams
0cb555ffcc
Filter performance tests.
...
Change-Id: Ic1c898ac41372da7b0a25ebb4c83b075c7467e35
2012-06-13 14:40:03 -07:00