Merge "vidc: venc:  Do not send codecconfig data with syncframe"
mm-video: vidc: Reduce video playback startup latency

get_buffer_requirements is an expensive function and should
not be called too many times. This change reduces the calls
to get buffer requirements on driver.

Change-Id: I4cb1c7006afd0edc0ed76783df0a45b76bef5a79
mm-core: Adds support for encryption type request.

Adds support for encryption type request.

CRs-Fixed: 396778
Change-Id: I980754aa33af705e79d2051fd6fea988318c8505
Merge "mm-video: port heap mask change to ion."
Merge "mm-core: Adds support for encryption type request."
mm-video: vdec: Fix race condition in flush.

Idle complete should be generated only after both input and
output ports are flushed. Component was generating Idle complete
before input port was flushed causing a crash while stopping
playback. This changes makes sure that Idle complete is generated
after both ports are flushed.

Change-Id: Ide8f3114463ff979504c1f2971f41c9691ab1e23
libI420colorconvert: add conversion from yamato to planar

CRs-Fixed: 406696
Change-Id: I7e963ea1c23a7ca9423d7026f740d97ef67e1f9e
mm-video: vdec: Polling video driver earlier

Polling on video driver should be started immediately after
opening the device to avoid missing any events from driver.
An issue was observed where some of the flush events were
missed because poll thread was not created. This change
fixes such issues.

Change-Id: I9478c208bc3d9d9b94a5e4b5148783e38a3d18aa
vidc: venc: set proper buffer count for input port.

when querying for input buffer count a hardcoded value was set, not
allowing client set values to be updated. This change updates the
buffer count and propogates client specified buffer count to driver.

Change-Id: I6411fba11b76ef3bebfb37fba870a958c7ad4b5a
mm-video: set ION_SECURE to flags instead of heap_mask during
ion alloc.

Without this change secure playback will fail.

Change-Id: I453f7ad74cfc8f8ebc62092e22eaa42eae94936d
Merge "mm-video: vidc: Reduce video playback startup latency"
mm-vide: vidc: adds fix to correct DIVX version

Adds fix to set the DIVX version through proper control.

Change-Id: I295316beb4ba50534124ef98d531d36343f1fb1c
Merge "mm-video: vdec: Fix race condition in flush."
Merge "mm-video: vdec: Polling video driver earlier"
Merge "vidc: venc: set proper buffer count for input port."
Merge "mm-vide: vidc: adds fix to correct DIVX version"
mm-core: Add support for setting QP range parameter

With this commit, support is added for setting
min_qp and max_qp during the video encoder component
initialization.

Change-Id: Ib8e23021f6e9b3599b6296455768b01d5fbeadda
mm-video: venc: Call set format in right order

Set format should be called on capture port first so
that driver can initialize the firmware with codec
type. Until firmware is initialized with codec type
there cannot be any communication with firmware.

Change-Id: If11baf1a5fe0ac84de2d7f9816951e110cdc6287
Merge "libI420colorconvert: add conversion from yamato to planar"
mm-video: Fix for debug log messages support

Enabling/Disabling debug log messages is controlled
by Android.mk file.
This change fixes the redundancy of the code which was
creating some issues for this support. Now the logs
can be enabled/disabled using Android.mk

Change-Id: I14209f0ee78b39d0cbf47a25c56ed53fdc83ae61
CRs-fixed: 410314