summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuIntrinsic.h
AgeCommit message (Collapse)Author
2014-08-15Collapse code paths for single- and multi-input kernels.Chris Wailes
This patch simplifies the RenderScript driver and CPU reference implementation by removing the distinction between sing- and multi-input kernels in many places. The distinction is maintained in some places due to the need to maintain backwards compatibility. This permits the deletion of some functions and struct members that are no longer needed. Several related functions were also cleaned up. Change-Id: Id70a223ea5e3aa2b0b935b2b7f9af933339ae8a4
2014-08-13Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines
This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6. Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
2014-08-12Collapse code paths for single- and multi-input kernels.Chris Wailes
This patch simplifies the RenderScript driver and CPU reference implementation by removing the distinction between sing- and multi-input kernels in many places. The distinction is maintained in some places due to the need to maintain backwards compatibility. This permits the deletion of some functions and struct members that are no longer needed. Several related functions were also cleaned up. Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
2014-07-08Fix build break for size_t vs. uint32_t difference.Stephen Hines
Change-Id: I11b9592214c4fa57ef62f42fd086a5a3df33abbf
2014-07-08Adds support for multi-input kernels to Frameworks/RS.Chris Wailes
This patch modifies Frameworks/RS in the following ways: * Adjusted the data-layout of the C/C++ version of RsForEachStubParamStruct to accommodate a pointer to an array of input allocations and a pointer to an array of stride sizes for each of these allocatoins. * Adds a new code path for Java code to pass multiple allocations to a RS kernel. * Packs base pointers and step values for multi-input kernels into the new RsForEachStubParamStruct members. Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
2014-06-25Switch the dimensions array to use uint32_t instead of size_t.Stephen Hines
size_t isn't safe, since we pack/unpack the array as a 32-bit int array, but that is the wrong type for 64-bit. Switching to uint32_t is better, since we only support 1 dimension today, and won't need many more than that even for complex cases in the future. Change-Id: Ie0dda264a9398b0e385e0f9ee0a91cda08325dbc
2013-06-17add histogram intrinsicJason Sams
Change-Id: I42c297bfe116ea29cf015680fcc2143ff4cc95d2
2012-11-26Cleanup pass + implement blur ucharJason Sams
Change-Id: Ib7f1c5218663b468a3c11daa2c3373ae132145ac Conflicts: cpu_ref/rsCpuIntrinsicBlend.cpp
2012-11-19Separate CPU driver impl from reference driver.Jason Sams
Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d