39 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
75ec67848c Add fp_relaxed pragma to image processing test.
BUG=4540719

Change-Id: I147587b50106208a2280712ae69ca2bc111a2b77
2012-03-28 17:58:52 -07:00
Xia Wang
3c658de274 am 6b110728: am 606b16bc: am e546b879: am ccc11c4d: Merge "Fix a typo in image processing test" into ics-mr1
* commit '6b11072884e5b73794948a2dd03cb9503bdbba74':
  Fix a typo in image processing test
2012-02-01 11:03:00 -08:00
Xia Wang
e2ce3b8252 Fix a typo in image processing test
Change-Id: I6c39a144dc7c724188e6ebad76c51c3ac1e818e1
2012-02-01 10:47:18 -08:00
Xia Wang
387d29e0d0 am e328d6b0: am b18a7c3e: am 1446c7b2: Merge "Get average value for image processing test bug#: 5566079" into ics-mr1
* commit 'e328d6b0a6456b753fd8c59f0b36b2bfdb137adb':
  Get average value for image processing test bug#: 5566079
2012-01-11 17:59:32 -08:00
Xia Wang
6e31a7b762 Get average value for image processing test
bug#: 5566079

Change-Id: Ib7022d20c773c4995b9d3d6eaf4857682190eb5e
2011-12-19 17:30:03 -08:00
Jason Sams
91e0dc7eb5 Make image processing results more stable.
Minor cleanup for mandel benchmark.

Change-Id: I549d9572842e9d11ba97362dd343338fea3abe9b
2011-11-10 14:19:19 -08:00
Jason Sams
53fc3e1867 Cleanup example code.
Change-Id: I060ea53c867ded0e6956776859fc2710c7302148
2011-09-13 11:29:02 -07:00
Xia Wang
f6244d1c0c Integrate ImageProcessing test into test framework
http://b/issue?id=5274365
Change-Id: I7949b4114dcab17d895d04755df5df2bd5a576a3
2011-09-07 18:06:03 -07:00
Jason Sams
0ed5ebacf9 Fix DPI issues in RS tests.
Change-Id: I02ca34187d93dfe703b90681061c3c7a42fafc15
2011-08-24 12:11:41 -07:00
Jason Sams
c854b9c05e Merge "Add size param to rsForEach bug 5074640" 2011-07-25 14:54:49 -07:00
Jason Sams
cf57dec80b Add size param to rsForEach
bug 5074640


Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
2011-07-25 12:58:37 -07:00
Alex Sakhartchouk
835b8544cc Fixing bitmap invalidation bug.
Change-Id: I47776f2c1a567342f0826850237c15a5d6315f71
2011-07-20 14:45:54 -07:00
Jeff Brown
bd882b1c87 Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
2011-07-11 22:12:16 -07:00
Stephen Hines
c32b99404b Clean up use of rsSetObject/rsClearObject.
Change-Id: I8d8e198135d680a1cab7fde64407dec8030bd6a6
2011-05-02 18:06:48 -07:00
Alex Sakhartchouk
9dc8b3652d Better workaround for the bitmap invalidation problem.
Change-Id: I9aa5ff9f68413ec36596d976a2e65b8ef272d56e
2011-04-26 17:19:41 -07:00
Alex Sakhartchouk
abf2b931ff sped up the ui in image processing test app
Change-Id: I5e8637cf4386b31d961d41c64019f9ac98d21905
2011-04-22 12:42:47 -07:00
Alex Sakhartchouk
c29a444281 Moving renderscript tests away from the library to a dedicated test folder.
Change-Id: I7d8e20a17513f167eae3681d77463c01f4fa24a7
2011-02-22 10:30:32 -08:00