qcmediaplayer: Extend release() in QCMediaPlayer

Extend release() in QCMediaPlayer which sets its
registered listeners to null
Support qcGetParcelParameter only for valid defined
keys. Else return null.

Change-Id: Idcfc2802ef2a90912659cd71f6c5a4d2874980cc
CRs-Fixed:620213
dashplayer: Enable GraphicBuffer usage to decoder before querying formats

This lets the decoder publish appropriate color format for surface-mode
playback. (For non-surface mode, a standard YUV format will be published)

Change-Id: Ic80d00aef027c84beddc5e23c2cfc3846dbbad43
mm-dash: property to enable/disable dynamic buffering mode

Defining property to enable/disable dynamic buffering mode

Change-Id: I7d9a62d037773ba7174a8b487d3710297dca22c1
CRs-fixed: 631834
dashplayer: Fix for seek to eos hang issue

When seek to eos and first buffer queued after
creating video decoder is eos, session hangs.
Issue is ETB posted on decoder input but no FTB posted
on output port

- submitOutputMetaDataBuffer when ETB onInputBufferFilled
even when buffer is eos

Change-Id: I460a721be499092c0e2cf0c8380446e253c9c01a
dashplayer: Handle Eos Error Propagation in Renderer

Handle usecase where first frame after audio decoder
creation is EOS frame.

Change-Id: I9bcbfd3930eb3961ce5b5bfa36d692812aa92e9f
CRs-Fixed: 625722
mm-video: c2dColorConverter: allow 16-byte aligned stride for NV12

Remove 32-bit restriction on stride if target format is YCbCr420SP.
This lets conversion of non-32 aligned resolution (like QCIF) without
padding.

Change-Id: I5e42606a05dfb7ef55ea1eb1f06f581d23e123dd
CRs-Fixed: 620886
mm-video: venc: Add support for WFD controls

Add QC extension to configure performance level,
VUI timing info, peak bitrate.

Change-Id: I854d09d8b4d42b19fdb5867baa08662bf432cc59
mm-core: Update AIV component name

Updated AIV component name to AIV.play.generic
with role AIV.play.role.generic

Change-Id: I0edc53c2f40ea2624566262ec62018958edd71d1
vidc: venc: Add support for random intra refresh mode

This change add support for setting random intra refresh
mode to video encoder driver.

Change-Id: I9d580344c649d97a16346b2aa591aa1767f4d3c9
mm-video: vdec: hevc: Add support for HEVC hybrid Adaptive Playback

- Add support for HEVC Hybrid Adaptive playback
- Add support for full DSP HEVC Adaptive playback

Change-Id: I926216c870cef9c87864ca1f3872d33bc602de5f
mm-video: vidc: venc: make hier-p and ltr mutually exclusive

Firmware supports only one of hier-p and ltr feature at a time.
Make these features mutually exclusive.

Change-Id: I51b26c6526bdd7a2a62e95b550a2208fc62ad489
mm-video: vidc: Fix bugs introduced via merge conflict

Fix a couple of bugs introduced by bad conflict resolutions.  A couple
of `if(...)` should be `else if (...)`.  This caused setting of
EncoderMultislice extradata to always fail.

Change-Id: I07aeb61b8eb53ebd5128b8d700fa87e8c2feb97b
vidc: venc: avoid false notification in case of h/w error

In encoder component, when async thread receives hardware
error from driver, it sends false notification to omx client
after error event. It is not compliant to OMX standard. This
change avoids the same.

Change-Id: Iffe423137628394175c451dce36e25bc503e5d8f
dashplayer: Return DashCodec FillBuffers properly on Error

- reply and return buffers to DashCodec
 if FeedMoreTSData reports error

 CRs-Fixed: 628092

Change-Id: If6086fdc3af49c0381779a9c3f53c8dcab6256ce
mm-video: vidc: vdec: advertise color formats based on usage hint

Clients on Android hint usage of output buffers for:
[a] local playback or [b] access decoded YUVs for software filtering,
by setting an extension OMX.google.android.index.useAndroidNativeBuffer2.

For playback, it is preferable to publish native/accelerated formats,
while apps prefer known YUV formats

Change-Id: I37a5fbc38568dd783f42b67d6cf20d9e6f3d0eba
CRs-Fixed: 620886
Revert "mm-video: vidc: vdec: advertise color formats based on usage hint"

 * We're not ready for this, and it's breaking CTS.

This reverts commit db7776ffce0150dc2930f24e06f11d82d5d9868f.

Change-Id: Id32c5ba73d3ac758744798fa2b1f805bf0fb61a3
msm: vidc: Update filled length to VENUS

This change update the nFilledLen variable to Venus core.

Change-Id: I512ebbbcfec5369f97e22be8cff98e48ba482843
CRs-Fixed: 621134
mm-video: vdec: reset display aspect ratio params

For specific streams which do not have display aspect ratio
information, component sends uninitialized garbage values
to the client. Reset these values to zero in such case to
avoid garbage.

CRs-Fixed: 543695
Change-Id: I5c774417d56d0eed362bf6ddb703534a97331a50
mm-video: vidc: make fbd unmap call after buffer logging

fbd logging was failing, since buffers were unmapped
before they were logged.

Change-Id: I1785f8a8e4ed24bbf6f97bc0ca004ed89ea78315
mm-video: vidc: Fix a race condition in sending OMX_CommandPortDisable

Due to a race condition event OMX_CommandPortDisable might send to
OMX client twice once due to OMX_COMPONENT_OUTPUT_DISABLE_PENDING
flag and once due to OMX_COMPONENT_DISABLE_OUTPUT_DEFERRED flag.
This change fix the race condition.

Change-Id: I34fc393b4db174c5c20b76ff556a065f2dd17ba0
CRs-Fixed: 524852