324 Commits

Author SHA1 Message Date
Stephen Hines
cca2455dc1 Test bounds on rsForEach calls.
Change-Id: I1dedfda90200bac984b552d52e1ac26523085357
2012-12-10 17:45:33 -08:00
Tim Murray
906380a876 Merge "add filters from Gallery to ImageProcessing" 2012-12-06 18:06:25 -08:00
Tim Murray
d7940c89e8 add filters from Gallery to ImageProcessing
Change-Id: Iaf90f4a9468adde4bc8d94ec3ceed41846f424d0
2012-12-06 17:19:54 -08:00
Stephen Hines
b6d04f84c3 Fix app bug related to same input/output bitmap.
Due to our new bitmap storage optimization, we can't reuse the same
bitmap as input and output safely (since we modify the output directly).
This change updates ImageProcessing to appropriately create a distinct
output Bitmap Allocation and actually use it.

Change-Id: Iecf6c2d203bd1c370b8d0a9fb7e69b419d2eb69b
2012-12-06 15:03:21 -08:00
Jason Sams
131549dd7b am 98a09c64: am 43174b7d: am 718fb9f1: Fix sample code issues
* commit '98a09c64d52aa1166a09ab071049bc3536def1cd':
  Fix sample code issues
2012-11-30 13:26:03 -08:00
Jason Sams
98a09c64d5 am 43174b7d: am 718fb9f1: Fix sample code issues
* commit '43174b7d2250d5afecabd5a97d2f7fbddc753fd7':
  Fix sample code issues
2012-11-30 13:21:50 -08:00
Jason Sams
718fb9f12e Fix sample code issues
Correct min SDK.
Correct file extension on mandelbrot

Change-Id: I508c22c382f1a930b27d8c5f4414cac3a990a332
2012-11-30 12:32:36 -08:00
Jason Sams
8150941098 Add single channel blur test.
Change-Id: Iec63132ab4d88290ae1bf0d71431d4fe6ec6dd25
2012-11-16 18:05:10 -08:00
Tim Murray
63f316f1b5 Merge "Java RS latency benchmark." 2012-11-13 13:12:22 -08:00
Jason Sams
83e185c295 Update ImageProcessing test.
Add async filtering.

Change-Id: I4e32a9b1fe9221b09a7d1433b3da11a5e422d911
2012-11-09 17:34:14 -08:00
Jason Sams
9368f0b1b5 JB image processing.
Change-Id: I10e1909332e9e67df0b9a6fcbcc105813295a8b1
2012-11-09 15:18:21 -08:00
Tim Murray
3ffedae942 Java RS latency benchmark.
Change-Id: Id5344dd3a8b6ba211411eae95e29f76a8a487b1a
2012-11-09 14:20:48 -08:00
Tim Murray
2bd9144ed3 Convert constant to float instead of double in mandelbrot.rs.
Change-Id: I05820b5e9b696662bd94dbcd4721298e92f1fc1a
2012-11-09 09:42:51 -08:00
Kenny Root
7b172a49a9 am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"
* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
  Correct executable bit for source files
2012-11-07 13:08:25 -08:00
Kenny Root
58ed5d748c am 768d9e1a: Merge "Correct executable bit for source files"
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
  Correct executable bit for source files
2012-11-07 11:52:12 -08:00
Kenny Root
3a084af2e9 Correct executable bit for source files
Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
2012-11-07 10:27:31 -08:00
Stephen Hines
bd5b3a7cb1 Minor fixes for range clamp + default blending.
We could use setHasAlpha(false) if we were targeting API 12+, but instead
we need to settle for having the script do this explicitly.

Change-Id: I1c8ebbddcba5a003c69fefa48ec1aaf7d0e6726c
2012-11-05 20:58:41 -08:00
Tim Murray
57b35572cc Remove copyBitmap from ImageProcessing.
Change-Id: Ib9079fab3b3d3da429f32c4c6688e6c437eb8795
2012-10-17 15:51:48 -07:00
Jason Sams
10542ec336 Merge "Port ImageProcessing to Filterscript." into jb-mr1-dev 2012-10-12 19:01:38 -07:00
Stephen Hines
d3d6570df4 Port ImageProcessing to Filterscript.
This enables testing of the Filterscript front-end for llvm-rs-cc.

Bug: 7166741
Change-Id: I90bda9d2710c6652336a8c112b5654c5da3d14e4
2012-10-12 14:50:49 -07:00
Jason Sams
4b429417ba Fix crash in ImageProcessing blend test
The blend test would use a stale context
when running all tests.

bug 7327728

Change-Id: I5802b9b382d8893419efe86d33fdfeeb27729e31
2012-10-12 14:30:23 -07:00
Jason Sams
b2ae7a1a18 Update compatibility library tests
bug 7327728

Change-Id: If3f85fb8944d7217a4d5c035f522d1ecc7af3a07
2012-10-10 18:17:53 -07:00
Jason Sams
31864d76a3 Fix range on blur intrinsic.
The intrinsic fails when the radius was 0. A blur
of radius 0 is a nop and should be disallowed. Fix the
test to allow sub-pixel radius to be selected.

bug 7273437

Change-Id: I2805674e29d557615eb7ac65c7910d4dffa28b58
2012-10-02 15:21:11 -07:00
Jason Sams
1ebb7202b6 Lighten grain and make live preview gpu friendly.
Preview now does yuv->rgb using the intrinsic
script. Grain uses a smaller wrapped rand buffer
so it is not just rand test.

bug 7216044

Change-Id: If74eedc7d3cf264895133671edc546af9b1527f2
2012-09-28 18:17:47 -07:00
Stephen Hines
0b1711582f Merge "RS char bug repro case" into jb-mr1-dev 2012-09-26 19:04:48 -07:00
Stephen Hines
c49c71a5c6 Merge "Restore RSTest functionality (char bug is fixed)." into jb-mr1-dev 2012-09-26 19:03:21 -07:00
Tim Murray
0e3d40dfbd fix build break
Change-Id: I51603e7c645ce7aaa632e88bdc44578094785fdd
2012-09-26 17:09:00 -07:00
Tim Murray
74478f73b7 fix blend intrinsics, add tests
Bug: 7190126
Change-Id: If69213377282bf5b412508e7af974a1f8d440287
2012-09-26 16:29:08 -07:00
Stephen Hines
8d60b1ea29 Restore RSTest functionality (char bug is fixed).
Bug: 6865598
Change-Id: If65ff3c29b28c1008fbf1ad91a92b54210d60547
2012-09-25 21:08:38 -07:00
Stephen Hines
d895d37e27 RS char bug repro case
Bug: 6865598

Change-Id: Ic43002e0b0646af7eda1b2283e4df7db8dfcf68b
2012-09-25 20:47:09 -07:00
Jason Sams
761d3d0df7 Reduce test warmup time to avoid driving into thermal throttle.
bug 7216044

Change-Id: I72c83e31dc39a0a810d8a453903213bd428dbe29
2012-09-25 15:00:04 -07:00
Jean-Baptiste Queru
07e35aa80b Merge into jb-mr1-dev
Change-Id: Ic72c475635a0eb57a77d3bd621a219001af8baa5
2012-09-25 09:37:11 -07:00
Jean-Baptiste Queru
641c36f918 Merge into jb-mr1-dev
Change-Id: Iec56e4962bbc78309b20595352cce986fe62f68e
2012-09-25 09:34:07 -07:00
Jason Sams
ae760511d8 Test FS getElementAt
bug 7190126

Change-Id: I1fbaa77af051cf44134f8bfe56339ce5d3b7edbb
2012-09-24 17:42:14 -07:00
Jason Sams
85d4955a13 Add test for copy kernels.
bug 7224526

Change-Id: I76e1e63b6bd53d84df9c60a61e6588b21f33c2e3
2012-09-24 17:27:59 -07:00
Jason Sams
c4b95cfc7b Test image for 2 input tests.
bug 7216044

Change-Id: I79794c1b12f618d03b27b316126cab9b3e4c9c38
2012-09-24 12:54:46 -07:00
Jason Sams
ac4bd00c1f Change 5x5 convolve to better test impl.
bug 7216044

Change-Id: I7165606a3ebf96ea3f401ed14d46f5105ed75ce4
2012-09-23 16:32:32 -07:00
Stephen Hines
9c7b529125 Merge "Verify pass-by-value kernels with structs." into jb-mr1-dev 2012-09-23 16:13:23 -07:00
Jason Sams
ed0b4f961f Force destroy scripts in imageProcessing.
bug 7216044

Change-Id: I6292513c08e75269e79d2210de898ef28931c986
2012-09-23 10:59:35 -07:00
Stephen Hines
c4358c7960 Verify pass-by-value kernels with structs.
Bug: 7166741
Change-Id: I8b5fab1cca6bf4dcafc646fd1d6e40a718f1ffaf
2012-09-22 21:39:21 -07:00
Jason Sams
82c8cdabc4 Merge "Add run all button to image processing test." into jb-mr1-dev 2012-09-21 18:13:16 -07:00
Jason Sams
b94d69a226 Add run all button to image processing test.
Change-Id: I11b4f803151ee7dc1e4b86f402196c1b856bd950
2012-09-21 17:42:13 -07:00
Tim Murray
0e64d892d6 Add Mandelbrot test to ImageProcessing.
Change-Id: I1d5478d58609394111410fbfd9f48b5018f385b1
2012-09-21 14:46:45 -07:00
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