dashplayer: Send buffering start event conditionally

Send buffering start event to application only if
video decoder is instantiated.

Change-Id: I99465b45b2f68efbd40eada3d03a235bb6694223
Revert "mm-video: vidc: Add support for dynamic debug
logging"

This reverts commit 4129054ff17269d3a4a277398b922f4a18c73cd4
-This gerrit is causing the power regression (CR:552802).
After reverting this change we see improvement of ~79mA.
Even the CPU consumption of "VideoDecMsgThre" of
/system/bin/mediaserver came down.

Change-Id: Ia1947a02a8d4cc3bad528bdc0ac346f0f7d6af93
Merge "dashplayer: Send buffering start event conditionally"
Merge "Revert "mm-video: vidc: Add support for dynamic debug logging""
mm-video: venc: Correct a typo in variable name

A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.

Change-Id: Ie58f275149dc9c85553f75e02594113b1a03ddcf
CRs-fixed: 556771
mm-video: vdec: Support adaptive playback mode

In this mode client checks and sets an extension to indicate
that the content can change resolution, within the pre-
announced maximum height/width. Component over-allocates
buffers for the max resolution and dbp, and notifies client
of any crop change when resolution changes within bounds.

Resolution changes beyond set max width/height will result in
port-reconfiguration notification, while adapting to the new
resolution.

Change-Id: I744ac475f3bbedaaca2b057e9a327243674f0d9e

Conflicts:

	mm-video/vidc/vdec/src/omx_vdec.cpp
Merge "mm-video: vdec: Support adaptive playback mode"
dashplayer: Handle error for text track

Handle UNKNOWN_ERROR for text track

Change-Id: Ifeb827b4b7f0fb796593789b0b51be333292c66f
Merge "dashplayer: Handle error for text track"
Merge "mm-video: venc: Correct a typo in variable name"
dashplayer: Send buffering start event conditionally

Summary:
Send buffering start event to application only if
video decoder is instantiated.

Change-Id: I99465b45b2f68efbd40eada3d03a235bb6694223

Revert "mm-video: vidc: Add support for dynamic debug logging"

This reverts commit 4129054ff17269d3a4a277398b922f4a18c73cd4
-This gerrit is causing the power regression (CR:552802).
After reverting this change we see improvement of ~79mA.
Even the CPU consumption of "VideoDecMsgThre" of
/system/bin/mediaserver came down.

Change-Id: Ia1947a02a8d4cc3bad528bdc0ac346f0f7d6af93

Merge "dashplayer: Send buffering start event conditionally"

Merge "Revert "mm-video: vidc: Add support for dynamic debug logging""

mm-video: venc: Correct a typo in variable name

A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.

Change-Id: Ie58f275149dc9c85553f75e02594113b1a03ddcf
CRs-fixed: 556771

mm-video: vdec: Support adaptive playback mode

In this mode client checks and sets an extension to indicate
that the content can change resolution, within the pre-
announced maximum height/width. Component over-allocates
buffers for the max resolution and dbp, and notifies client
of any crop change when resolution changes within bounds.

Resolution changes beyond set max width/height will result in
port-reconfiguration notification, while adapting to the new
resolution.

Change-Id: I744ac475f3bbedaaca2b057e9a327243674f0d9e

Merge "mm-video: vdec: Support adaptive playback mode"

dashplayer: Handle error for text track

Handle UNKNOWN_ERROR for text track

Change-Id: Ifeb827b4b7f0fb796593789b0b51be333292c66f

Merge "dashplayer: Handle error for text track"

Merge "mm-video: venc: Correct a typo in variable name"

dashplayer: Send buffering start event conditionally

Send buffering start event to application only if
video decoder is instantiated.

Change-Id: I99465b45b2f68efbd40eada3d03a235bb6694223

Revert "mm-video: vidc: Add support for dynamic debug logging"

This reverts commit 4129054ff17269d3a4a277398b922f4a18c73cd4
-This gerrit is causing the power regression (CR:552802).
After reverting this change we see improvement of ~79mA.
Even the CPU consumption of "VideoDecMsgThre" of
/system/bin/mediaserver came down.

Change-Id: Ia1947a02a8d4cc3bad528bdc0ac346f0f7d6af93

Merge "dashplayer: Send buffering start event conditionally"

Merge "Revert "mm-video: vidc: Add support for dynamic debug logging""

mm-video: venc: Correct a typo in variable name

A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.

Change-Id: Ie58f275149dc9c85553f75e02594113b1a03ddcf
CRs-fixed: 556771

mm-video: vdec: Support adaptive playback mode

In this mode client checks and sets an extension to indicate
that the content can change resolution, within the pre-
announced maximum height/width. Component over-allocates
buffers for the max resolution and dbp, and notifies client
of any crop change when resolution changes within bounds.

Resolution changes beyond set max width/height will result in
port-reconfiguration notification, while adapting to the new
resolution.

Change-Id: I744ac475f3bbedaaca2b057e9a327243674f0d9e

Merge "mm-video: vdec: Support adaptive playback mode"

dashplayer: Handle error for text track

Handle UNKNOWN_ERROR for text track

Change-Id: Ifeb827b4b7f0fb796593789b0b51be333292c66f

Merge "dashplayer: Handle error for text track"

Merge "mm-video: venc: Correct a typo in variable name"

Merge remote-tracking branch 'caf/jb_2.6_1' into merge_caf

Test Plan: confirm compile on applicable devices, currently header fail on m7

Reviewers: synergy

Differential Revision: http://review.codefirex.com/D56