mm-video:venc: Add required ION Heap ID for video encoder buffers

- Allocate video encoder buffers from ION_CAMERA_HEAP_ID memory
  for 8x55 target.

Change-Id: If9d4d4d484d53bffe41940a04adf589d7d1a9ebe
mm-video: venc: Don't align chroma on legacy msm7x30 devices

On legacy msm7x30 devices with a 720p max resolution, the alignment
of chroma to 2K for non-camera YUV420SP input causes wrong recording
of 480p video (eg. the video layers are completely disaligned during
playback).

Change-Id: I794bacc2f714a648073b805e8c02bb568d59fc5f
mm-video: vdec: Use GRALLOC_USAGE_PRIVATE_ADSP_HEAP

* GRALLOC_USAGE_PRIVATE_CAMERA_HEAP is deprecated

Change-Id: I1c698f27274adda5972d2de3bfddf7ab7ed9041e
DashPlayer: Fix in DashCodec for Adapative Streaming

Fix in DashCodec for Adaptive Streaming

Change-Id: Ie1e30627c8095a7210ad4e16c96f5f79abff22c6
CRs-fixed: 596767
mm-video: venc: use source stride for color-converting RGB input

 -RGB input may be composed by GPU with an aligned stride
  different from the frame-width.
 -CTS test cases testEncodeDecodeVideoFromSurfaceToSurface720p
  and testVideoEdit720p fails because gralloc-handle
  stride value is not used
 -Extract this stride from gralloc-handle to interpret the buffer

Change-Id: I63fd224e933424e1e8c49a19270545f000a2ebd5
mm-video: vdec: Fix memory leak in color converter.

When OMX is deinitialized, the color converter buffers stay intact, causing the
available memory pool to have less continuous space available.

Change-Id: Icc2d730d540bae153c9fde36a6f4267ff3f9f088
mm-video: vdec : Avoid updating stride in flushing state

 -omx component is accessing the buffer after fill_buffer_done call
  on the client. This is to update the stride value for smooth
  streaming.
- During flushing scenario, buffers are returned to the client through
  fill_buffer_done call and client is expected to the free the buffers
  in the same context. Accessing the buffer in this scenario is leading
  to a crash during testH264_adaptiveSmallDrc.
- Fix is to avoid updating stride value when in flushing state.

  CRs-fixed: 651562

Change-Id: Ibe79fad264f42da8a356ef6b43793203035bced7