mm-video: Adds support for back to back decoding

Adds a fix to move to Idle state after recieving FLUSH_DONE.
This avoid freeing of buffer by client which are not
freed by Venus yet.

Change-Id: Ia1cba24e42ee4c39f320c9815a91b349098675c3
mm-video:vdec: add H264 start code parsing support

This commit will add H264 start code parsing support
for H264 decoder in omx video decoder test application.

Change-Id: I25c9fec23c6f48001c20f91cd0de4bc58c7324c3
mm-core: 7630: Remove the qcom mp3 decoder from Android

Remove the hardware Qcom MP3 decoder from Android registry
table.

Change-Id: Ida1c9a9b9b70456394f8037ac42f5ba33fd4a0f1
mm-video: vidc: suppress non-fatal error messages.

These messages are non-fatal and appear frequently
during the video session. Hence suppressing them.

CRs-Fixed: 389408
Change-Id: I24dcaa33a16186e5ea7833cf6ad422ed6068d238
mm-video: vidc: Enable frame by frame mode

Enabling the previously disable frame by frame mode. As a part of this
change, pass in the CODEC_CONFIG flag to driver if SPS or PPS is given
to component

Change-Id: Iaf5e169e13bd3c20c615ad6c271c1ac44bf1ff41
mm-video : vidc: Adds support to send STOP command to encoder

Adds support to send STOP command to encoder which is used to
signal close to encoder session.

Change-Id: I75aef5ee4cfacf1356303d2e5e41280242dc9a29
vdec: Update the setMetaData() api

setMetaData() has been expanded to allow clients to set more than
one metadata attributes. The second argument is now a void pointer,
which is type-casted to specific data type based on parameter being
set.

Change-Id: I7853c707da1706c088b3b1ac8f323c3e392ffed2
Merge "mm-video: vidc: Enable frame by frame mode" into jb
msm_vidc: venc: Camcorder bringup changes

- Replace streamoff command with flush.
- Update fd during etb call
- Fix timestamp calculations
- Add support for sending flush done to IL client
- Subscribe for flush_done event
- Move event unsubscription after stop
- Merge flush input and flush output commands into single flush all
- Update venc_stop_done calls.

Change-Id: I7c8ba906b6ffe2bd98702e95a92afbd0f6467516
msm_vidc: Fix maxcount for encoder

When client updates actual buffer count, component rejected this
because in component max count = min count. This change updates
the count, so buffer count changes from client are successful

Change-Id: I7a55cc36db3fcf45829c2859d393a8a3962c720c
Merge "vdec: Update the setMetaData() api" into jb
Merge "msm_vidc: venc: Camcorder bringup changes" into jb
Merge "msm_vidc: Fix maxcount for encoder" into jb
mm-video: vidc: Add support for Smooth streaming for secure mode playback.

    -When secure playback enabled, extra data parsing can't be done to
      find new resolution.

    -This change will add the extension index required for
      Smooth Streaming for both secure and non secure mode video playback.

Change-Id: Ifbab34b3f56a7054a62588bacd618c0f68eddc5b
CRs-Fixed: 368333
mm-core: Add support for Smooth streaming for secure mode playback.

   - This change will add the extension index required for

   - Smooth Streaming for both secure and non secure mode video playback.

Change-Id: I461a0267d0d1ef8524d5db9330b23b7108616640
CRs-Fixed: 368333
Merge "mm-core: 7630: Remove the qcom mp3 decoder from Android" into jb
vidc: vdec: Adds support to remove smooth streaming

Removes the support for smooth streaming. Since we don't have
extradata support yet, framewrok doesn't know the modified
resolution.So it displays with wrong resolutions.
Smooth streaming can be added with extradata support.

Change-Id: I072418b7d106d11b939d63e018e6cd478d9ad8f6
vidc: Align ion buffer length before allocating it

Align buffer legnth to the required alignment before
allocating it to resolve mmap issue for ion memory
allocations on kernel 3.0 version.

Change-Id: I0acbcdab6afe1e946d257b9a0aeb103d9074e87d
Merge "vidc: vdec: Adds support to remove smooth streaming" into jb
mm-video: vidc: include msm-specific ion header

All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: Ibf8c59485bfae51a556a504e567111b3f9558513