Remove VP9-related runtime functions.

We've decided that it makes more sense to support this as an intrinsic rather than a set of runtime functions for kernels.

Change-Id: I9b99e4d9edc3ca185437a88c837405195eab18a2
Resolve x86_64 relocations in RS.

Change-Id: I7e32aa150bd04d6b48afd656291a85b0ca5c182d
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
Add error check when init RS thread in sync mode.

RS should return false and stop further waiting when it failed to init RS thread,
otherwise it will cause RS caller ANR errors.
Update destructor function for the exception handling accordingly.

Change-Id: I80a946e6be6b23cc93388b5f56d58ad6dc809d8b
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
Merge "Resolve x86_64 relocations in RS."
Enable linker loader support for 64bit elf object

Change-Id: I6425c427d6a9eddd30e44abf595601180ca52eba

Conflicts:
	cpu_ref/linkloader/include/impl/ELFObject.hxx
Merge "Enable linker loader support for 64bit elf object"
Fix ARM64 build.

Change-Id: Ic947b16baaea22a0a6ad02da938ea48b986b2f0e
Merge "Fix ARM64 build."
Bicubic resize intrinsic

Change-Id: Ie869484505c3e25e8ea57ff208b9e052ee8dca7b
Merge "Bicubic resize intrinsic"
Disconnect the ANativewindow before destroy the DrvAllocation.

It should disconect the ANativewindow before destroy the DrvAllocation,
otherwise it will fail in the next loop to connect the ANativewindow in
rsdAllocationSetSurface, where the DrvAllocation is destroyed but the
ANativewindow is still being connected.

Change-Id: Id084f7d388e5ddfa3112ac3bdab7a49ce104b0db
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
Fix RS test apk problems

1). Fix RS sample display
Multiply rsSample outputs with 255.0f, or else no display for RS sample

2). Fix RS sample no display
Set Allocation.USAGE_GRAPHICS_TEXTURE when preparing RS Allocation,
or else rsSample() returns 0 which causes no display for RS sample.

Change-Id: Ifb52b0862f448b611fbdca1633d3118427ed415a
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
Merge "Fix RS test apk problems"
Merge "Add error check when init RS thread in sync mode."
Merge "Disconnect the ANativewindow before destroy the DrvAllocation."
Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs.

Change-Id: I9447d3b04bc564d6af2019dc6748372dca5cc8f0
Merge "Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs."
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>
Skip the .ARM.exidx section, since it is currently unused.

Change-Id: I454e4cf311a3eed5cc3b1f4398bdbc7976a0d430
Merge "Skip the .ARM.exidx section, since it is currently unused."