Add multi-frame support to RenderScript:

Bug: 23535524

 - Allow multi-consumer for a single BufferQueue with specifying the
   the number of buffers need.
 - Allow USAGE_IO_INPUT allocations share the same BufferQueue with
   an existing Allocation.
 - Individual allocations can still call ioReceive independently
 - Add getTimeStamp() for multi-frame processing.

Change-Id: Ia8f48f5fc50d578c68306bb32f0eac9636f5f32a
5 files changed