dashplayer: Send buffering start event conditionally

Send buffering start event to application only if
video decoder is instantiated.

Change-Id: I99465b45b2f68efbd40eada3d03a235bb6694223
mm-video: vdec: Set input buffer size dynamically

OMX client can request the input buffer size based
on frame resolution. This change supports overriding
default input buffer size if the value requested by
client is greater than default input buffer size.

Change-Id: I376d60319acb462b4f806217ec57ad19ddee357b
Merge "dashplayer: Send buffering start event conditionally"
Merge "mm-video: vdec: Set input buffer size dynamically"
Merge branch 'kk_2.7_rb1.15' of git://codeaurora.org/platform/hardware/qcom/media into cm-11.0
mm-video: Add NO_IOMMU flag and enable it by default for msm8660

Change-Id: Ibb76e4dead9db55619dc7fc64bfd17fa96208dc9
Initial 8x55 mr1 bring up

Change-Id: Ib2830754cd82ed201d51aa457f1b633b7cfabd4c
mm-video:vdec: Video decoder bring-up on 8x55 target

- Set TILE color format for index zero on video port format
- Add ION memory support for video decoder.

Change-Id: Ifef1a15ec7089702c7644fd0e7c1463f81035fc7
mm-core: initial video bring-up on 8x55 target

This change is needed to pick qcom video h/w libraries
for 8x55 target.

Change-Id: Ie6af7da5c30e27c796b2c6827d30682227b825d9
mm-core: Use CM standard QCOM naming for 7x30

Change-Id: I5a253f50f9800ba3419b0908f6a5895ff6615b80
mm-video: vdec: display: Change in screenRefresh interface

Display interface changed to optimise binder transaction.
This change depends on
ChangeID I4db66f2427ecf16d7a6264462ae85815217a16b1

Change-Id: I7f7861e2626fdd32efcfe3a2575a62caed91f8db
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
media-caf: Avoid collision with FFMPEG plugin

Change-Id: Ica2cdf9f6572ec18f396d25758cbb2be1359ac0b
QCMetadata: add keys for FLAC meta data

Add FLAC meta data specific keys.

Change-Id: I85f34d01ad4b403e236a5fc2ebf054eb383abbde