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 tag 'android-4.2.2_r1' into HEAD

Android 4.2.2 release 1
Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1

Change-Id: Id1a3e0714af8fb4975989f9ac751db3b148ab9e5