DashPlayer: Add support for dumpsys in DashPlayer

Added functionality in DashPlayer to dump playback statistics to file.

Change-Id: I0f95684f10db376731f622f06d17cc262480ecd3
DashPlayer: Notify seek position to dash source

Notify seek position to dash source to make sure that
if text samples arrive before audio/video, the time
out for sending text samples is not wrongly calculated.

CRs-Fixed: 492376

Change-Id: I952e474d92936532956c1d456b6ad1d554402405
DashPlayer: Don't queue EOS in flushing state

Don't queue EOS to renderer in flushing state.

Change-Id: I04925c3b99c1b43281eb8c43be5943194a3bd48b
libc2dcolorconvert: Fix CTS Failures for 720p Encoding on 8930.

 -CTS testcases testEncodeDecodeVideoFromSurfaceToSurface720p
  and testVideoEdit720p fails because graphic buffer
  stride value is different for 8930.
 -Extra padding is needed for 8930 graphic buffers this case
  needs to be handled in C2D colorconverter before color
  conversion process.
 -Fix is to keep same stride value as of graphic bufer source
  in colorconverter module for 8930.
 CRs-Fixed: 515586

Change-Id: I45cdbd0ad4cad00f3e87c5f32852fc28f279aee9
mm-video: venc: Distinguish between normal NV12 and aligned NV12

Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment.
But for some other apps(e.g VT) that are aware that the component
wants aligned NV12 and would align it themselves, causing the component
to muck up the buffer by realigning it.

To prevent the confusion, the component now makes a distinction between
NV12 (OMX_COLOR_FormatYUV420SemiPlanar) and aligned NV12 (QOMX_COLOR_\
FORMATYUV420PackedSemiPlanar32).  Clients who prefer to provide aligned
buffers will now set the latter as the input port format.

Change-Id: I73c337660fb825e9b267663266fd4b9d6e35443e
dashplayer:  Fix for Progress bar moving back in seek.

Fix for progress bar moving back in seek by calling
kWhatposition from renderer using new seektime

Change-Id: I30ce962cca58cdce5bd56e9f4ed6963ebd80de7a
QCMetaData: Add key for interlace

key for interlace set in metadata is being used for thumbnail mode.
If the key is set, two ETB are send to the decoder

Change-Id: I1e4e996f46f022916ab5f4f14ff2c111f04717c1
dashplayer: Delete memory allocated for cached crops and formats

Delete dynamically allocated memory allocated for cached crops
and formats.

Change-Id: Ib0d66f723bf9a66d308b8c786ef8de1efc1627a0
libc2dcolorconvert: use c2dMapAddr() and c2dUnMapAddr

These apis are the preferred way to map ION memory into C2D,
instead of direct kgsl calls.

Change-Id: I74de60c1a407aa507e3f47edc5074b4df3928da3
media-caf: update includes to point to correct location
media-caf: Add TARGET_QCOM_MEDIA_VARIANT filtering

Only build if it's set to caf

Change-Id: Ia4fa6130bcb0653a88584b9dff7aef33716a01e0
Ifdef items that depend on QCOM_BSP

Change-Id: Ia4c1ea61f07e3d5c27d73b4c3f7851eaeb0fdef6
Fix handling of display vs. display-caf

Originally written by Steve Kondik at
https://github.com/CyanogenMod/android_hardware_qcom_media-caf/commit/5234181ec526471bdacadd876cc202b65c53035b

Reworked to only handle deltas between display and display-caf

Change-Id: Ia47e55f46e07266d18854f29bae7aec4903288d6
media-caf: fix 7x27a support

Conflicts:

	Android.mk

Change-Id: I4c09352698ca432ed69832f3932552f48ef1616a
media-caf: QCOM's revenge

Change-Id: I5be3e8ecfe2e709b55beef56f5ca362d071cde01
Update JELLY_BEAN_MR2 flag to KITKAT

Change-Id: I5789d8aad2731b62d065dc567c5b03dd1055bcb9
Rename vpx to vp8

Change-Id: Id315667de0e52d7bc788a1eee1780113a7648e22
media_caf: don't build qcmediaplayer if not used

Building this will break some builds and is a waste of time if it's not going to be used.

Change-Id: Ie8d7cbecf0b463a5692d43d5212b43b3c7e86303
mm-core: Remove double declaration of OMX.qcom.audio.decoder.aac

Change-Id: I0d64cde98ab92c48fe9e70d26724c334f22a79f6
mm-video: Fix compile error on 7x30.

Change-Id: Ia5d25165602eb2ae42ea8ac33248c627b07fed1d