libc2dcolorconvert: Remove reserved param from kgsl_map_user_mem

The reserved field is not needed and is only defined in bionic,
removing it.

Change-Id: I9844b8139d3125d0176efd93ab107643d715cf68
media: Disable DashPlayer and libcdconverter for JB_MR2 bringup

Change-Id: I96fdd59df28a874064a11adfa7cc314d9848bd48
Merge "media: Disable DashPlayer and libcdconverter for JB_MR2 bringup" into jb_2.5_pdk
Merge commit '6b2f85d95afee532136492b7981b34cb5cca8935' into HEAD
Merge commit '8d6d0e3bcde4a6f7c934859a2591507ecf95f645' into HEAD
QCMetaData: Add support for CAN_SEEK_TO_ZERO in QC file

- Add CAN_SEEK_TO_ZERO in QC file and remove it from AOSP file

Change-Id: I9c82f95f70931413e88eebe9ae2ec28b14b8da37
mm-video: add support for the bitstream_restrict flag in VUI

Expose the OMX_QcomIndexParamEnableVUIStreamRestrictFlag parameter which
allows the OMX client to enable bitstream_restriction_flag in the H264
VUI.

Change-Id: I60c81d1b76a712334af91e99497a5b5a30017440
Merge "QCMetaData: Add support for CAN_SEEK_TO_ZERO in QC file"
mm-video: Handle EOS and cleanup for opaque format.

Input buffers queued with fillen-length=0 can potentially contain
invalid pBuffer. Skip color conversion for opaque format and pass
an empty buffer to codec with an EOS marker for signalling EOS.
Cleanup buffer-list when port buffers are freed to enable
reallocation.

Change-Id: I1890b882334a42e56ea8066399a76f0ba39d3c4c
mm-video: vidc: Handle EOS buffer with content correctly

When EOS buffer with nFilledLen > 0 was queued, the component would
apparent it the buffer before the EOS.  This resulted in a buffer with
two frames to be queued to the decoder, which subsequently ignores the
second frame.

Fix this by queuing the contents the EOS buffer seperately instead of
appending it.

Change-Id: I198a7485c3bdf0e6181bfedbc0fa6ea91341475a
mm-video: vidc: Flush m_input_free_q when input buffers are freed

Not flushing it might leave dangling pointers to old input buffers,
which end up getting de-referenced, if the component is re-used for
another session.

Change-Id: If232cb3a5d10c4c1fd4634814cf25707fc7b8c90
mm-video: Free frame_parser in component de-init

frame_parser is alloc'ed in component init, it should be accordingly
freed in de-init rather than when input buffers are freed.

Change-Id: I19bb9899b7659eedb286fa5e44f0af901ae764b4
mm-video: vdec: attach proper timestamps to delayed ETBs in EOS

When generating delayed ETBs in EOS case, attach the timestamps
correctly for deferred frames.

Change-Id: I475ea11fac9593cee2c25d2aa7910d5a9165105a
Merge "mm-video: Handle EOS and cleanup for opaque format."
Merge "mm-video: vidc: Handle EOS buffer with content correctly"
Merge "mm-video: vidc: Flush m_input_free_q when input buffers are freed"
Merge "mm-video: Free frame_parser in component de-init"
Merge "mm-video: vdec: attach proper timestamps to delayed ETBs in EOS"
Merge "mm-video: add support for the bitstream_restrict flag in VUI"
mm-video: revert usage of flag GRALLOC_USAGE_PRIVATE_CP_BUFFER

Obsolete the custom flag added to notify usage of secure buffers. Now all
secure buffers are allocated based on the flag GRALLOC_USAGE_PROTECTED

Change-Id: I92a87f402892d5758fa9adef8ae734d1b8be2c83