merge in jb-mr1-factory-release history after reset to jb-mr1-dev
merge in jb-mr1-factory-release history after reset to jb-mr1-dev
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: Id732ebdaefa983dc38d2a27a0f04317888b3a3f9
Thread launch latency improvements.

Change-Id: I38b104edc1e120f2d8187edbd75e5d9ea652c12e
Fix performance when reading or writing large buffers.

Blur intrinsic which uses ~25mb of data would spill the
L2 cache when a smarter walking pattern could reduce this
hit.  We now vary the chunk size on both the processor
count and data size.

N7 execution time drops 1959ms to 930ms
Mako 470ms to 385ms
Manta, no change.

Change-Id: I57e36e2fec3bb51033a9bd9f3040963f5b071eb0
Fix single-CPU/thread case.

Change-Id: Ia21a37922c6eb250519094e626e75b95d45db9c3
Fix convolve3x3 off-by-one error.

Bug: 7599424
Change-Id: I577b0051487934c26603a5f6329b88939e36639a
Remove hard coded limit on intrinsic blur buffer size.

DO NOT MERGE

bug 7631746

Change-Id: I7fdf27bb2149c09c330124f032951cab32b85f62
Fix kernel launch clipping.

bug 7648342

Change-Id: Ife61345bc834f876b03f87cefb2408b4aaba9e88
Fix kernel bounds for ColorMatrix intrinsic.

Bug: 7648342
Change-Id: Ia345523ead21cbe74fabd07edd79b386de5b995d
Merge remote-tracking branch 'aosp/jb-mr1.1-release' into jellybean
YUV(NV21) to RGBA function NEON optimizations.

Used perf to measure the performance gains and the average of 3 runs
showed that:

Old NEON:
    Decodes 7200 1920x1080 frames in 92,372,429,902.33 cycles (~12.83E6 / frame)
    (stddev 3.22E-3)

New NEON:
    Decodes 7200 1920x1080 frames in 66,456,635,523.00 cycles ( ~9.23E6 / frame)
    (stddev 5.16E-5)

about 35% faster.

This code was wrapped in C framework that was developed to obtain these
measurements, and has not been tested within RenderScript.

Change-Id: I4f4e25b968f858f9fca973b36c105c715d90acbf
Signed-off-by: David Butcher <David.Butcher@arm.com>