DashPlayer: Don't queue EOS in flushing state

Don't queue EOS to renderer in flushing state.

Change-Id: I04925c3b99c1b43281eb8c43be5943194a3bd48b
mm-video: vidc: Setprop command support for uncache buffers

The video playback buffers can be allocated as uncache buffers
when requried using below setprop command

setprop persist.video.mem.usecache 0

The video recording buffers can be allocated as uncache buffers
when required using below setprop command

setprop persist.camera.mem.usecache 0

By default all the buffers are allocated as cache buffers.

Change-Id: Ic68414cf42afa2b8467a821fae31bda3fd10045f
Merge "DashPlayer: Don't queue EOS in flushing state"
Merge "mm-video: vidc: Setprop command support for uncache buffers"
mm-video: vdec: Initialize fd values to avoid memory corruption.

When driver open fails, we try to close uninitialized
fds which may contain any junk value. Thus, closing fd
with these junk values may result in memory corruption.

CRs-fixed: 493261
Change-Id: Idad7db5930776a29bb102442c793091a64bcfced
vidc: vdec: Open secure display after video driver opened

Open secure display after successfully opened video driver.
This change will resolve the non-secure video playback failures
when secure video driver open failed cases.

Change-Id: I739c1f387d131a9285f755840ff45f0c9d47dee1
dont use strict fix omx_vdec error

Change-Id: I1e25d9150c0537983deb6028b9a420e1bf702297
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
Merge "mm-video: vdec: Initialize fd values to avoid memory corruption."
Merge "vidc: vdec: Open secure display after video driver opened"
mm-video: vidc: Synchronize ION alloc and free APIs

This change synchronizes ION alloc and free APIs
between different video instances by having
static mutex varible. This change also makes
changes to use single ION device fd for all the
video buffers instead of having different ION
device fds for each buffer.
This change resolves the blank thumbnails issue
in Movie Studio application.

Change-Id: I1f0721d8a65a8a4fec2f8bf2a702ccfdaf0da114
Merge "mm-video: vidc: Synchronize ION alloc and free APIs"
Merge tag 'AU_LINUX_ANDROID_JB_2.5.04.02.02.040.410' of git://codeaurora.org/quic/la/platform/hardware/qcom/media into HEAD

AU_LINUX_ANDROID_JB_2.5.04.02.02.040.410 based on quic/aosp/jb_2.5