Stephen Hines
5f528becb0
Check Element in all API levels for copy2DRangeFrom().
...
Change-Id: I561317671a16888fc9f35908ab1ae1489a14fc6c
2013-02-08 21:03:51 -08:00
Stephen Hines
a9a7b37405
Fix copyFrom() to use proper dimensions for copying.
...
This change actually fixes several bugs related to stride:
* copyFrom() needs to call the 2D or 1D version, depending on the dimensions
of the corresponding Allocation.
* Add an internal-only copy2DRangeFromUnchecked(), since we don't really
want to expose it as another public API (only via copyFromUnchecked()).
* Call the proper 1D/2D version in copyFromUnchecked() based on the
Allocation dimensions.
* Add Element checks to the "checked" copy2DRangeFrom() routines.
Change-Id: I690706d36884ee749bf90937c715855f6c07368c
2013-02-08 20:56:00 -08:00
Jason Sams
5b08a2dc78
Add FieldPacker contructor that accepts
...
external storage.
Change-Id: I9c796f925802b202eae7e0fe1750a10140ef4a47
2013-02-08 11:22:17 -08:00
Tim Murray
eb8c29cb7e
Add API entry points for clipped kernels.
...
Change-Id: Idf474a5ac391c41e9215cd2f03e7f8c4bfb875fa
2013-02-07 15:22:36 -08:00
Jason Sams
3c6721899e
Merge "Implement rs.sendMessage()"
2013-02-07 02:17:53 +00:00
Scott Main
e68c1ce1d4
am 11f1c5b8: am b3a57191: am 0a00de11: am 805d2e2d: am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev
...
# Via Android Git Automerger (4) and others
* commit '11f1c5b89a98cb6794f2b1f158b8c22e38af975f':
docs: fix renderscript links that currently require redirect
2013-02-06 12:31:26 -08:00
Scott Main
11f1c5b89a
am b3a57191: am 0a00de11: am 805d2e2d: am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev
...
# Via Android Git Automerger (3) and others
* commit 'b3a57191e62e0c394ba4a3448770853a1fb7ac3b':
docs: fix renderscript links that currently require redirect
2013-02-06 12:26:46 -08:00
Jason Sams
455d644266
Implement rs.sendMessage()
...
Change-Id: Ib4f4bb7bb4f697d0b5405ad55721394ed2456c65
2013-02-05 19:20:18 -08:00
Jason Sams
a4b7bc9786
Log non-fatal RS errors.
...
Change-Id: I3e58b89453af8955ba9df825ec143e793890f44a
2013-02-05 15:05:39 -08:00
Scott Main
b47fa1699a
docs: fix renderscript links that currently require redirect
...
Change-Id: Ie12ff2c4be5ca22ac43dfe3a16868c7bef8e4ae8
2013-02-05 14:23:13 -08:00
Kenny Root
29449a3da7
am 781bcd68: am c3ee1d9a: am 7ad885e2: Merge "One more fix for incorrect indices."
...
# By Stephen Hines
# Via Android Git Automerger (2) and others
* commit '781bcd68ce7d701f5d36dd0d1b07d51ef937f0bc':
One more fix for incorrect indices.
2013-01-29 23:01:51 -08:00
Christopher Tate
7b3b2cfc29
am e93ca308: am 0e95685f: am b5a72043: Merge "Fix array index oob in Matrix3f.loadRotate()."
...
* commit 'e93ca308c8792b231ec921ba8a00e6c78e87f9ad':
Fix array index oob in Matrix3f.loadRotate().
2013-01-22 18:45:50 -08:00
Stephen Hines
3983754bbb
One more fix for incorrect indices.
...
Change-Id: I283f2f09cd0a17eefed4a763b08df856bbae76b3
2013-01-22 18:29:41 -08:00
Stephen Hines
0ce7cdaffd
Fix array index oob in Matrix3f.loadRotate().
...
https://code.google.com/p/android/issues/detail?id=42860
Change-Id: Idbf18576da3ad5b84b4209147dad34cc2f9044d2
2013-01-22 16:01:44 -08:00
Jason Sams
b109cc7861
Add YUV allocation creation.
...
Change-Id: I0d1ff72f60481eb9c28cf058eab72e689494d14b
2013-01-08 15:29:41 -08:00
Jason Sams
40f1fa6ed6
Add 3D LUT intrinsic java class
...
Add test for 3D LUT
Change-Id: I52bc20fd5458afda6de0a6015e9c8bc6a4970055
2013-01-08 11:52:56 -08:00
Jason Sams
ef308ed9b3
Cleanup imports.
...
Change-Id: I72690651e895ad7bafa57ccc7261eaa1168923bd
2013-01-02 11:20:29 -08:00
Jason Sams
8140d7b0f6
yuv
...
Change-Id: I3e99740250f1a3cb356bf6906528abc71f8cee2e
2013-01-02 11:20:29 -08:00
Jason Sams
69bf687e53
Merge "Add API support for 3D allocations."
2012-12-28 11:53:46 -08:00
Jason Sams
d1c306a9e6
Add API support for 3D allocations.
...
Change-Id: I19c525f90135d83caec545e77e8f61a957d220ee
2012-12-27 20:26:41 -08:00
Stephen Hines
d34dc85f8f
We can only optimize bitmaps that have USAGE_SHARED.
...
Change-Id: I1149a9e25738da5ee348e3c18e7fdd7c1948e89e
2012-12-19 19:34:17 -08:00
Tim Murray
0562a0dcc1
Merge "Add USAGE_SHARED for Allocations."
2012-12-19 13:03:38 -08:00
Tim Murray
00bb454bd0
Add USAGE_SHARED for Allocations.
...
Change-Id: I61efafffaa649df68762d9ae29e029cd1e1bc6bc
2012-12-19 13:01:03 -08:00
Tim Murray
fbfaa85363
Add struct for controlling clipping in Java.
...
Change-Id: Iac747e492c680530553909b0389b230fbc654e30
2012-12-17 12:10:55 -08:00
Tim Murray
a314551d69
Add support for Bitmap-backed Allocations in Java.
...
Change-Id: Iab38a275aa6cdac91c76fa0d134fbc1e8f387913
Bug: 7256604
2012-12-04 18:27:07 -08:00
Jason Sams
8150941098
Add single channel blur test.
...
Change-Id: Iec63132ab4d88290ae1bf0d71431d4fe6ec6dd25
2012-11-16 18:05:10 -08:00
Jason Sams
7e7b99ca93
am f5e768c4: am 06b9df47: am 61759d99: Merge "Convert one more bind() -> setVar()." into jb-mr1-dev
...
* commit 'f5e768c46dfaa7266a25cf9ea778479b5d493dc1':
Convert one more bind() -> setVar().
2012-10-16 13:33:28 -07:00
Stephen Hines
5b4f8f90fd
Convert one more bind() -> setVar().
...
Bug: 7318821
Change-Id: I215c70a99c81e560a73412b2263fed39a0fdae03
2012-10-16 13:19:23 -07:00
Jason Sams
885934ff45
am 749c179e: am 8d0c431a: am 009d5413: Merge "Fix bugs in scriptGroup." into jb-mr1-dev
...
* commit '749c179ed5a1cdb2f6742fbe3bb491404a19acca':
Fix bugs in scriptGroup.
2012-10-16 10:58:03 -07:00
Jason Sams
e6a7886674
Fix bugs in scriptGroup.
...
Intrinsics were treating inputs as fields rather than varObjs.
This would generate a lot of extra work for the reflection
layers. Also we would like to deprecate this path in the future.
bug 7318821
Change-Id: I81e8c562ba05aae5d085d5c08e91e2c4877265c5
2012-10-15 15:52:22 -07:00
Jason Sams
1592c79a40
am bc265564: am 08dd6d1f: am 56754193: Merge "Fix cycle detection for SGs." into jb-mr1-dev
...
* commit 'bc265564746f7321e1d8277449a90c9e8e4ad824':
Fix cycle detection for SGs.
2012-10-12 19:11:54 -07:00
Tim Murray
091f7ccf9a
Fix cycle detection for SGs.
...
bug 7318821
Change-Id: I695d7230551d8512c6c3f0c31c57f12498da7036
2012-10-12 12:07:09 -07:00
Tim Murray
07fd8b4fc5
am b97bf6c4: am ab01a9e4: am b2d55225: Merge "Add DAG validation for ScriptGroups." into jb-mr1-dev
...
* commit 'b97bf6c458689a5e4284b902f0c012b4ebe273b0':
Add DAG validation for ScriptGroups.
2012-10-10 17:42:41 -07:00
Tim Murray
2a603897c6
Add DAG validation for ScriptGroups.
...
bug 7318821
Change-Id: If13cfe7a9f214ab253236bd52dd96df7b07aa14e
2012-10-10 14:21:46 -07:00
Tim Murray
f671fb0b35
Add copyFrom(Allocation a).
...
Change-Id: Ibc334326083b5471584dcf1c068e4e810aede20f
2012-10-05 16:45:45 -07:00
Tim Murray
bc254b9597
add resize2D to Java API
...
Change-Id: I91c0d2292486d63b93f8b07a9ec0137fe020ac21
2012-10-05 16:15:16 -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
Tim Murray
74478f73b7
fix blend intrinsics, add tests
...
Bug: 7190126
Change-Id: If69213377282bf5b412508e7af974a1f8d440287
2012-09-26 16:29:08 -07:00
Jason Sams
f70bb04346
Add Blend intrinsic.
...
Change-Id: I6f679c910fc23fe7441e17ad66bcf5f3dd7425a0
2012-09-21 16:10:49 -07:00
Jason Sams
e69e9e6b6e
Clean up and publish the YUV to RGB intrinsic.
...
Change-Id: Iffb346a5d751f0bae123455869bda8db37d542ff
2012-09-18 18:23:15 -07:00
Jason Sams
08a81583c1
Add Kernel, Method, and field IDs
...
bug 7182873
Change-Id: I066a359bb04027e9376dac088560f042c496b10e
2012-09-18 12:32:10 -07:00
Jason Sams
80d819033d
Unhide intrinsics and document API.
...
Change-Id: I0233245c68f9a08780213062e62cfea6cf909c13
2012-09-13 17:00:48 -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
17fec32bba
Fix doc typo.
...
Change-Id: Ib18172ac72886865dc9ae4535a577b2f8f3468e9
2012-09-07 15:42:55 -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
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
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
Jason Sams
6ab97682fd
Intrinsics test
...
Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
2012-08-14 12:06:00 -07:00
Jason Sams
423ebcb4dc
Implement ScriptGroup and add test.
...
Change-Id: I6ce0479c20f425d501c759c15717aa8b418c3f5f
2012-08-10 16:02:33 -07:00
Stephen Hines
ec6f200cd8
Fix RS matrix docs regarding row/column and x/y.
...
Change-Id: Ibcb90ee62e458adfa55849fc1bc79257293975fe
2012-07-10 16:25:07 -07:00