History log of /frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c060f1435e7b9405f3be8974417fa6f410f03753 14-May-2015 Stephen Hines <srhines@google.com> Use "override" instead of "virtual" when replacing methods.

Bug: 20306487

Change-Id: Ic83cb04cac153a7556f5d516e8f5ec88b5527b6f
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
b0abb140ac51b93d1a85aadaa63fe057f2d29850 12-Mar-2015 David Gross <dgross@google.com> Pass RsExpandKernelDriverInfo not RsExpandKernelParams.

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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
45e753a46e587c69b3b0d0c5138e88715a24a29a 20-Jan-2015 Stephen Hines <srhines@google.com> Remove linkloader from frameworks/rs.

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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
32f9d04ae7b5f680c0921b3f9d4cdbf1665532b3 23-Oct-2014 Jason Sams <jsams@google.com> Enable 64 bit asm for int->int ColorMatrix

This brings 64 bit perf close to 32bit for the common
color matrix paths.

bug 17923388

Change-Id: I96c2c28a07864bf71c6c4a0186fb76f4a946316f
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
09d7d5993e75e22ade6b37bc98c42d30a81ec6af 09-Oct-2014 Jason Sams <jsams@google.com> am c214fe59: Fix incorrect error check for mmap

* commit 'c214fe59fc48740ed003a3cde4e5a60517c5d5ce':
Fix incorrect error check for mmap
c214fe59fc48740ed003a3cde4e5a60517c5d5ce 09-Oct-2014 Jason Sams <jsams@google.com> Fix incorrect error check for mmap

bug 17909809

Change-Id: I8fd0d5c489ff8b110d657cd63d3cae164d4067b9
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
bff7da6ff43ba594dddeaf15bf4ad4d029eb3897 23-Aug-2014 Dan Albert <danalbert@google.com> am da2f0714: Merge "Fix x86 build for SSSE3."

* commit 'da2f071483b148bba216d40070d87f92785b527f':
Fix x86 build for SSSE3.
ebf0eb95cba9579af7cb67205b94b286f221c4ed 22-Aug-2014 Dan Albert <danalbert@google.com> Fix x86 build for SSSE3.

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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
61db21cef81cbc8439b34a8f1d32952339ffc190 22-Aug-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of 81cfa2c5 to lmp-dev-plus-aosp

Change-Id: Ia3a7f084693825d4e46a4864788332a7d039d38f
4592e82e77fdd8b6bc1cbc99c6809907f5dcddbe 21-Aug-2014 Jason Sams <jsams@google.com> Fix build break from bad merge.

Underlying structure changed in AOSP since LMP was branched.

Change-Id: I7793f9b03e5febfd9bc8965f7976ecaa9c6e2275
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
ef48ce24c2fac16326ea9719cae7e930633c52dc 21-Aug-2014 Jason Sams <jsams@google.com> resolved conflicts for merge of adbc54f3 to lmp-dev-plus-aosp

Change-Id: I04f438a6fc4cd374a821c32102cc758d9a30d731
44bef6fba6244292b751387f3d6c31cca96c28ad 12-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
de52a834dbcb2a3196948e7b9f67d395493ea9a4 21-Aug-2014 Jason Sams <jsams@google.com> Fix two intrinsic clipping bugs.

bug 17157250

Change-Id: I65c945da6bd90733333a5472c1a85b5d3e3e4d6b
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
9ed79105cc6a8dbfaf959875249f36022cc2c798 26-Jul-2014 Chris Wailes <chriswailes@google.com> Remove the instep parameter.

This patch removes the instep parameter from calls to expanded kernels and
from the CPU reference implementation intrinsics.

Change-Id: I059db548a57702c576963f6b17a002b2ee393cdb
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
f37121300217d3b39ab66dd9c8881bcbcad932df 17-Jul-2014 Chris Wailes <chriswailes@google.com> Collapse code paths for single- and multi-input kernels.

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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
4b2bea3dc20865f3a198797702e19912a6a2171c 13-Aug-2014 Stephen Hines <srhines@google.com> Revert "Collapse code paths for single- and multi-input kernels."

This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6.

Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
818cfa034e257c7bb48356257f5cb67334e19aa6 17-Jul-2014 Chris Wailes <chriswailes@google.com> Collapse code paths for single- and multi-input kernels.

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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
6a45ddb32f391060aa05da6ff09c4814d450586e 06-Aug-2014 Tim Murray <timmurray@google.com> Bugfixes for AArch64.

- 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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
1aa9dfc002f6b763d34d75d9f47abb4aa70584a2 06-Aug-2014 Tim Murray <timmurray@google.com> Bugfixes for AArch64.

- 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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
28c8f3a8f4e92ef9956c5a01f09347eff1e59417 25-Jul-2014 Stephen Hines <srhines@google.com> Merge "Split the RsForEachStubParamStruct in two."
5600ebccedd4ae86bd6e41459e33bd2ae3992261 06-May-2014 Simon Hosie <simon.hosie@arm.com> Arbitrary sub-rectangle handling for ColorMatrix.

AArch64 code for odd-length cases, and correct pointer offsets.

Change-Id: I28049a768a1e3e65611898904fa42bd295208871
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
80ef693674f69c0343c41564e30f80e7fb513b60 08-Jul-2014 Chris Wailes <chriswailes@google.com> Split the RsForEachStubParamStruct in two.

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
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
6e7e258316f72be95039278e88e3bc1daea1668f 06-May-2014 Simon Hosie <simon.hosie@arm.com> Arbitrary sub-rectangle handling for ColorMatrix.

AArch64 code for odd-length cases, and correct pointer offsets.

Change-Id: I28049a768a1e3e65611898904fa42bd295208871
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
074424a4ac5b093331df2c92e7a5bcbfff136b71 22-May-2014 Jason Sams <jsams@google.com> Enable ARM64 intrinsics.

This also moves ARM intrinsic ifdefs behing ARCH_ARM_USE_INTRINSICS instead of ARCH_ARM_HAVE_VFP.

Change-Id: I48d3d55c77feb931e22288828247e281db43d32b
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
c7c255e86b2cbd36e4da94632c49b3c8b4f74031 08-Mar-2014 Simon Hosie <simon.hosie@arm.com> Fix some empty matrix cases in ColorMatrix.

Change-Id: I77ee44844472c647f12e80e2d68c11e2b272e595
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
858d0352934596aa46fe97a70f30d4d837f6fc7f 30-Apr-2014 Jason Sams <jsams@google.com> Add comments for fast-path RS kernel

Change-Id: I4b7450383d7b4c788fdfd5555d79dc94836b9fee
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
98dd4bb2b1b08f04dd5034fe0c69daa15f6cc6da 30-Apr-2014 Jason Sams <jsams@google.com> Fix performance regression in color matrix.

Previous bug fix which added "len &= 3" was buggy.

Change-Id: I32dba6b340ced35a7686243c5d9c468b5ade1ad6
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
7b7060c61e4182b29186849c5a857ea5f0898e56 21-Apr-2014 Rose, James <james.rose@intel.com> Improve RS intrinsics performance.

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>
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
863b8c326f138f570f2d055e1a14100d00fb8983 08-Apr-2014 Jason Sams <jsams@google.com> Fix color matrix bug.

Change-Id: I8087572249f73165136cec3520e8d1c29eea002f
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
0462a39371659d1eeed5eb48dd6d507760301c22 08-Mar-2014 Simon Hosie <simon.hosie@arm.com> Add AArch64 assembly for ColorMatrix.

Change-Id: I2fcc57aceea08243d5132287f6de053b846c5fe7
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
0e780a7ce6794e53e475573dbcb8af01fe57e708 19-Mar-2014 Narayan Kamath <narayan@google.com> Merge "Move renderscript over to __clear_cache (compiler-rt)."
e195a3f57ace3b66d313a6ee88c6e93d5c9d87f4 13-Mar-2014 Tim Murray <timmurray@google.com> Make RS compile on ARM64.

bug 13280327

Change-Id: I79080c448ca17d0cba8df075737c22b24ce9a085
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
72f5f8c0e7833d9a4f0288700256982dc7127e23 11-Mar-2014 Narayan Kamath <narayan@google.com> Move renderscript over to __clear_cache (compiler-rt).

bug: 12965705

Change-Id: Ia9917a4aff377fd43a4e71c71a886639763eb250
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
ec3cd2dff915d476ce0d7cdbb20c0497635a700f 12-Sep-2013 Jason Sams <jsams@google.com> Fix issues with U8->U8 when mixed with add or lane conversion

bug 10427746

Change-Id: Iea14223c754d0b2256d752d9211a0c45109c3a02
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
9e4a96af136dab5b21a37580d17cbcb89872114e 12-Sep-2013 Jason Sams <jsams@google.com> Fix ColorMatrix performance and correctness issues.

bug 10427746

Change-Id: Ie42753a551badf4de3144f16fa0e407eca5b9c74
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
17e3cdc24776d8fdbf1ce16287b9b4dcd516708f 10-Sep-2013 Jason Sams <jsams@google.com> Fix ScriptGroup performance regression

bug 10151545

Change-Id: Ica4a30c6fe8718f7fdbff0b446885d9ac7083769
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
2b0d8e60d7daeffa7c9a5e11cfbfc9e5e04933b7 30-Aug-2013 Jason Sams <jsams@google.com> Float color matrix fixes

Fix histogram to use update API names.

bug 10427746

Change-Id: Idc9d6025380b2344d14f2aeb4da66bff47169021
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
68c817211a6fe87bebed83d38a05fff32cc24a7e 22-Aug-2013 Jason Sams <jsams@google.com> color matrix bugs

bug 10427746

Change-Id: Ie652fe5180702a2eceb3a7077bc1821ba21c1ee4
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
a65de10aabdee0794d0e9c96db944e990166ef0d 09-Aug-2013 Jason Sams <jsams@google.com> Float color matrix support.

Change-Id: I106b0cb1ad511aa549e4c90d79b3e84b55da45e4
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
5cb36d9b36617f6b0493602ef61d620dc8f7e0ae 09-Aug-2013 Jason Sams <jsams@google.com> Merge commit 'b10a68c3' into manualmerge

Conflicts:
cpu_ref/rsCpuIntrinsicColorMatrix.cpp

Change-Id: Ibc2f1514f8858d99f08380f698bc9ae533c69212
f5ef8df639ba6363aa5d546e57ce872d04144cb6 06-Aug-2013 Jason Sams <jsams@google.com> Neon detection for RS SDK compat lib.

Change-Id: I3887158c7ec97ba116c28dc7b1d0c789b81fae60
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
9b2b9efa1a1f9b0ec8c20601216f8dc5698c75f5 30-Jul-2013 Jason Sams <jsams@google.com> Color Matrix improvements.

Change-Id: I4594ea43a0a2b298a9ad66bd5e63d8b829d4f620
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
c905efd76fdcc1b8846b229bf7d991d185a7b4b7 27-Nov-2012 Jason Sams <jsams@google.com> Cleanup pass + implement blur uchar

Change-Id: Ib7f1c5218663b468a3c11daa2c3373ae132145ac

Conflicts:

cpu_ref/rsCpuIntrinsicBlend.cpp
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp
709a0978ae141198018ca9769f8d96292a8928e6 16-Nov-2012 Jason Sams <jsams@google.com> Separate CPU driver impl from reference driver.

Change-Id: Ifb484edda665959b81d7b1f890d108bfa20a535d
/frameworks/rs/cpu_ref/rsCpuIntrinsicColorMatrix.cpp