DashPlayer:call unregisterHandler in DashPlayer, avoid memory leak

AHandler objects in mediaplayer registred with ALooper
but did not call unregister at shutdown.

Change-Id: If9140d30ace0423c8181a1a64707ddcdc448d525
CRs-Fixed: 461906
mm-video: Handle input/output flush done events appropriately

The command queue has more priority than etb/ftb queues.
Input/output flush done events from the video driver were
inserted into command queue hence they were first sent to
client though there are some empty_buffer_done/fill_buffer_done
events pending in etb/ftb queues causing video failures in client.
This change will fix the issue by inserting input/output flush
done events into etb/ftb queues and hence they were sent to
client after all empty_buffer_done/fill_buffer_done events
were sent.

Change-Id: I824aa42b965aba1b270b15f074a77d425d744a82
CRs-fixed: 430214
Merge "mm-video: Handle input/output flush done events appropriately"
dashplayer: Fix seek bar jump during seek

Fix to update current position with seek time.

Change-Id: I3febf7a46f2c0a85fbbc36ec0898adc58ec2e2a9
mm-video: vidc: parse extradata in video component

This change gets the extradata offset and length
from kernel video driver and parses the extradata
in user space video component. It also inserts the
QCOM Filler extradata if required for encoder.

Change-Id: I6ea61731e75ed4aee342fea8ecf9185f0f3341f4
CRs-fixed: 471135
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
mm-video: Fix issue with port reconfiguration specific clip

This change fixes the issue of UI freeze during the
playback of multiple resolution change specific clips
through decoder test app.

CRs-fixed: 476934
Change-Id: Ia5572482073bd743b641319ee246cb483bc1917e
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
vidc: venc: 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: Iccec40261ed42f060c6e7e20dc8f823a8198ee2a
Merge "mm-video: vidc: parse extradata in video component"
Merge "mm-video: vidc: parse extradata in video component"
Merge "mm-video: Fix issue with port reconfiguration specific clip"
mm-video: vidc: Set max resolution when smooth streaming enabled

- Set maximum supported resolution to video driver
  when smooth streaming enabled by client
- Amend logging as appropriate.

Change-Id: I5459df8e5f3ae7b53984dd56405243e7cd7839a1
Merge "mm-core: Add support for setting QP range parameter"
Merge "vidc: venc: Add support for setting QP range parameter"
dashplayer: Adjust buffer count for native window

When allocating buffers from native window, adjust the
buffer count based on the minimum undequed buffer count,
and allocate an extra buffer for smooth streaming.

Change-Id: I72ad33872b68bb0bfe41fcb565d61b429f76b892
Merge "mm-video: vidc: Set max resolution when smooth streaming enabled"
Merge "dashplayer: Fix seek bar jump during seek"