dashplayer: Memoryleak fix and fps calculation during buffering

1. mTrackName was allocated with a new call but was never
   deleted, due to which there is a memory leak.
2. Skip fps stats for accumulated frames after buffering as the
   buffering duration reduces the fps value.

Change-Id: I26a67e8cc213294ea2fcc0c46a4d3c20ebe06419
DashPlayer: Following fixes are added in DashPlayer

 - Notify MEDIA_PREPARED after media duration is notified.
 - Not to notify Playback complete if Media Error is notified

Change-Id: I94521f2ae4351fb3b89b021fc983d1d759f96986
mm-core: Add support to configure ISO or ARIB coefficients

- Add QCOM OMX extension to support configuration of ISO or
  ARIB stereo mixing coefficients.

Change-Id: I6a969421184ccbe1af644ac4ed2395a8bb386d38
Merge "dashplayer: Memoryleak fix and fps calculation during buffering"
Merge "DashPlayer: Following fixes are added in DashPlayer"
mm-video: vdec: Add additional dependencies in make file

Compilation is failing if make is issued on video decoder
shared library before compiling the kernel. Add kernel include
files path from out folder to LOCAL_ADDITIONAL_DEPENDENCIES
in the make file.

Change-Id: I7575f29f7245b4a73422eb35dcebc3fa2255a99f
CRs-fixed: 455015
dashplayer: Replace ACodec with DashCodec

- Enable smooth streaming.
- Notify flush completed for all states except executing.
  This prevents crash on seek, when seekbar is dragged.

Change-Id: I9cd15194002c93ce1a411aa4abbded9d13be5701
Merge "mm-core: Add support to configure ISO or ARIB coefficients"
dashplayer: Fix to avoid crash during back to back playback

stop call on source added to avoid crash during back to
back playback

Change-Id: I5bcbac2ba1c131c4d0e322ecd876a1d1021cba9f
CRs-Fixed: 450679
Merge "dashplayer: Replace ACodec with DashCodec"
Merge "mm-video: vdec: Add additional dependencies in make file"
audio: add wmaLossLess decoder component

- Add OMX.qcom.audio.decoder.wmaLossLess to
  register table to support wmaLossLess format

Change-Id: Ibb20268ccb55a54302ed7cfd8863141482f7242b
CRs-Fixed: 457174
mm-video: vdec: Notify display about the format of video playback

An H.264 clip may have SPS+PPS that indicates the clip is
interlaced. However, the subsequent frame data may be
progressive. In this case, display is not updated about the
progressive content, it continues to display the video as
if it was interlaced.
With this change, we are now notifying display about the
Interlace/Progressive format of video playback by calling
setMetaData API for each buffer during handling of Interlace
Extradata

Change-Id: I0f3f11ba21ffc659b0a54c1494c2aa72fdd367a7
CRs-Fixed: 406941
mm-video: vdec: Amend logic to send playback error

During playback of an erroneous clip or a clip with SPS/PPS
occuring more than 288 times before the first IDR is queued,
playback error was being reported. This was being done for
non arbitrary bytes mode only. Now handle this case for all
frame packing modes.

Change-Id: I3b289eae61b9007355db98929cc542c140ae660c
CRs-fixed: 458875
Merge "audio: add wmaLossLess decoder component"
mm-video: vdec: Remove genlock lib dependency

With MR1 release, the use of genlock is deprecated.
Remove genlock lib dependency from the makefile.

CRs-fixed: 449736
Change-Id: I4e1fd58a1b64d9e80da63d2b0ea752eaf03bc277
Merge "mm-video: vdec: Remove genlock lib dependency"
Merge "mm-video: vdec: Notify display about the format of video playback"
Merge "dashplayer: Fix to avoid crash during back to back playback"
vidc:venc: Reject changing number of B-frames dynamically

The number of B-frames is not expected to be changed
at run time. The dynamic intra period settings are
allowed to change the number of P-frames and not B-frames.
This change will reject if number of B-frames is changed
in dynamic intra period setting.

Change-Id: I5c5c168270bdb49a1533d5ffc46ff811c714d21a
CRs-fixed: 416057