summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use "override" instead of "virtual" when replacing methods.Stephen Hines2015-05-221-6/+6
| | | | | | Bug: 20306487 Change-Id: Ic83cb04cac153a7556f5d516e8f5ec88b5527b6f
* Pass RsExpandKernelDriverInfo not RsExpandKernelParams.David Gross2015-03-161-9/+9
| | | | | | | | | Which is to say: retire RsExpandKernelParams and pass RsExpandKernelDriverInfo directly to kernel wrapper functions instead. Requires related change in frameworks/compile/libbcc. Change-Id: I453f45ec18f389e88e27fcfa57ddf245d077cb98
* Remove linkloader from frameworks/rs.Stephen Hines2015-01-201-3/+1
| | | | | | | | | | | | | | | | Bug: 18322681 Now that we have switched completely to the new shared library object loading path, we can safely remove the legacy linkloader path. In frameworks/rs, this removes the actual linkloader code, as well as all helper calls into linkloader. This change also coalesces code paths between the support library version of RS and the native version of RS, since they both now depend on a similar shared library loader. A missing call to dlclose() on Script teardown is also added on the native library path. Change-Id: Ie5cc152d93f5e75383f7c21a4523579cfae8823f
* Enable 64 bit asm for int->int ColorMatrixJason Sams2014-11-101-8/+12
| | | | | | | | | This brings 64 bit perf close to 32bit for the common color matrix paths. bug 17923388 Change-Id: I96c2c28a07864bf71c6c4a0186fb76f4a946316f
* am c214fe59: Fix incorrect error check for mmapJason Sams2014-10-091-1/+2
|\ | | | | | | | | * commit 'c214fe59fc48740ed003a3cde4e5a60517c5d5ce': Fix incorrect error check for mmap
| * Fix incorrect error check for mmapJason Sams2014-10-081-1/+2
| | | | | | | | | | | | bug 17909809 Change-Id: I8fd0d5c489ff8b110d657cd63d3cae164d4067b9
* | am da2f0714: Merge "Fix x86 build for SSSE3."Dan Albert2014-08-221-3/+3
|\ \ | | | | | | | | | | | | * commit 'da2f071483b148bba216d40070d87f92785b527f': Fix x86 build for SSSE3.
| * | Fix x86 build for SSSE3.Dan Albert2014-08-221-3/+3
| | | | | | | | | | | | | | | | | | | | | These functions were previously defined in a C file. The file was renamed to C++, but the extern "C"s were not removed. Change-Id: I62ec9ba7c73d24c221bbe3f7580cfd7f09bf701c
* | | resolved conflicts for merge of 81cfa2c5 to lmp-dev-plus-aospStephen Hines2014-08-211-11/+11
|\| | | | | | | | | | | Change-Id: Ia3a7f084693825d4e46a4864788332a7d039d38f
| * | Replace NULL macros with nullptr literals.Chris Wailes2014-08-201-11/+11
| | | | | | | | | | | | Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
* | | Fix build break from bad merge.Jason Sams2014-08-211-1/+1
| | | | | | | | | | | | | | | | | | Underlying structure changed in AOSP since LMP was branched. Change-Id: I7793f9b03e5febfd9bc8965f7976ecaa9c6e2275
* | | resolved conflicts for merge of adbc54f3 to lmp-dev-plus-aospJason Sams2014-08-211-3/+2
|\ \ \ | |/ / |/| / | |/ Change-Id: I04f438a6fc4cd374a821c32102cc758d9a30d731
| * Fix two intrinsic clipping bugs.Jason Sams2014-08-201-2/+2
| | | | | | | | | | | | bug 17157250 Change-Id: I65c945da6bd90733333a5472c1a85b5d3e3e4d6b
| * Bugfixes for AArch64.Tim Murray2014-08-111-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | - Disable use of runtime pointer until we can set it correctly in invokes. - Disable YUV and ColorMatrix ASIMD intrinsics - Modify runtime stubs to use large objects correctly - Fix calling convention in allocation.ll - Add appropriate rsr functions for compat lib and large objects bug 16846318 Change-Id: I7f6a4ff66fd1b3ad40b08cfc9ecdda7d53e95c7d
| * Arbitrary sub-rectangle handling for ColorMatrix.Simon Hosie2014-07-231-15/+22
| | | | | | | | | | | | AArch64 code for odd-length cases, and correct pointer offsets. Change-Id: I28049a768a1e3e65611898904fa42bd295208871
* | Remove the instep parameter.Chris Wailes2014-08-181-4/+3
| | | | | | | | | | | | | | This patch removes the instep parameter from calls to expanded kernels and from the CPU reference implementation intrinsics. Change-Id: I059db548a57702c576963f6b17a002b2ee393cdb
* | Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-151-18/+20
| | | | | | | | | | | | | | | | | | | | | | 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
* | Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines2014-08-131-20/+18
| | | | | | | | | | | | This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6. Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
* | Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-121-18/+20
| | | | | | | | | | | | | | | | | | | | | | 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
* | Bugfixes for AArch64.Tim Murray2014-08-121-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | - Disable use of runtime pointer until we can set it correctly in invokes. - Disable YUV and ColorMatrix ASIMD intrinsics - Modify runtime stubs to use large objects correctly - Fix calling convention in allocation.ll - Add appropriate rsr functions for compat lib and large objects bug 16846318 Change-Id: I7f6a4ff66fd1b3ad40b08cfc9ecdda7d53e95c7d
* | Merge "Split the RsForEachStubParamStruct in two."Stephen Hines2014-07-241-3/+3
|\ \
| * | Split the RsForEachStubParamStruct in two.Chris Wailes2014-07-151-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | This patch splits the RsForEachStubParamStruct into two smaller structs, one used specifically by the driver and the other by the expanded kernels. Doing so makes it clearer what data is used where. In addition, fewer data are copied between memory locations during kernel invocation. Several fields that were not being used were removed from the structs. Change-Id: I7788ef754add44463b17a6b571c7cde6e73b9712
* / Arbitrary sub-rectangle handling for ColorMatrix.Simon Hosie2014-06-031-15/+22
|/ | | | | | AArch64 code for odd-length cases, and correct pointer offsets. Change-Id: I28049a768a1e3e65611898904fa42bd295208871
* Enable ARM64 intrinsics.Jason Sams2014-05-221-6/+6
| | | | | | This also moves ARM intrinsic ifdefs behing ARCH_ARM_USE_INTRINSICS instead of ARCH_ARM_HAVE_VFP. Change-Id: I48d3d55c77feb931e22288828247e281db43d32b
* Fix some empty matrix cases in ColorMatrix.Simon Hosie2014-05-061-3/+13
| | | | Change-Id: I77ee44844472c647f12e80e2d68c11e2b272e595
* Add comments for fast-path RS kernelJason Sams2014-04-291-0/+4
| | | | Change-Id: I4b7450383d7b4c788fdfd5555d79dc94836b9fee
* Fix performance regression in color matrix.Jason Sams2014-04-291-1/+1
| | | | | | Previous bug fix which added "len &= 3" was buggy. Change-Id: I32dba6b340ced35a7686243c5d9c468b5ade1ad6
* Improve RS intrinsics performance.Rose, James2014-04-221-0/+34
| | | | | | | | | | | | Renderscript CPU performance for intrinsics cases is not good for x86 platforms. In many cases it is significantly slower even with SIMD Intrinsics. In current x86 implementation it is using full 32 bit multiplies which aren't well supported on current Atom platforms. This patch uses 16 bit multiply with 32 bit add pmaddwd instruction where appropriate. It also adds atom specificoptimizations to improve RS intrinsics performance. Change-Id: Ifc01b5a6d6f7430d2dc218f1618b9df3fb7937fe Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
* Fix color matrix bug.Jason Sams2014-04-071-0/+1
| | | | Change-Id: I8087572249f73165136cec3520e8d1c29eea002f
* Add AArch64 assembly for ColorMatrix.Simon Hosie2014-03-251-25/+87
| | | | Change-Id: I2fcc57aceea08243d5132287f6de053b846c5fe7
* Merge "Move renderscript over to __clear_cache (compiler-rt)."Narayan Kamath2014-03-191-1/+2
|\
| * Move renderscript over to __clear_cache (compiler-rt).Narayan Kamath2014-03-121-1/+2
| | | | | | | | | | | | bug: 12965705 Change-Id: Ia9917a4aff377fd43a4e71c71a886639763eb250
* | Make RS compile on ARM64.Tim Murray2014-03-131-2/+2
|/ | | | | | bug 13280327 Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
* Fix issues with U8->U8 when mixed with add or lane conversionJason Sams2013-09-111-15/+26
| | | | | | bug 10427746 Change-Id: Iea14223c754d0b2256d752d9211a0c45109c3a02
* Fix ColorMatrix performance and correctness issues.Jason Sams2013-09-111-22/+46
| | | | | | bug 10427746 Change-Id: Ie42753a551badf4de3144f16fa0e407eca5b9c74
* Fix ScriptGroup performance regressionJason Sams2013-09-091-24/+31
| | | | | | bug 10151545 Change-Id: Ica4a30c6fe8718f7fdbff0b446885d9ac7083769
* Float color matrix fixesJason Sams2013-08-291-51/+124
| | | | | | | | Fix histogram to use update API names. bug 10427746 Change-Id: Idc9d6025380b2344d14f2aeb4da66bff47169021
* color matrix bugsJason Sams2013-08-211-6/+7
| | | | | | bug 10427746 Change-Id: Ie652fe5180702a2eceb3a7077bc1821ba21c1ee4
* Float color matrix support.Jason Sams2013-08-091-216/+440
| | | | Change-Id: I106b0cb1ad511aa549e4c90d79b3e84b55da45e4
* Merge commit 'b10a68c3' into manualmergeJason Sams2013-08-081-1/+0
|\ | | | | | | | | | | | | Conflicts: cpu_ref/rsCpuIntrinsicColorMatrix.cpp Change-Id: Ibc2f1514f8858d99f08380f698bc9ae533c69212
| * Neon detection for RS SDK compat lib.Jason Sams2013-08-061-21/+27
| | | | | | | | Change-Id: I3887158c7ec97ba116c28dc7b1d0c789b81fae60
* | Color Matrix improvements.Jason Sams2013-07-291-81/+443
|/ | | | Change-Id: I4594ea43a0a2b298a9ad66bd5e63d8b829d4f620
* Cleanup pass + implement blur ucharJason Sams2012-11-261-5/+6
| | | | | | | | Change-Id: Ib7f1c5218663b468a3c11daa2c3373ae132145ac Conflicts: cpu_ref/rsCpuIntrinsicBlend.cpp
* Separate CPU driver impl from reference driver.Jason Sams2012-11-191-0/+219
Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d