mm-video-v4l2: vdec: streamoff while freeing first output buffer

Streaoff is being skipped if client sends commands loaded ->
idle -> allocate output buffers -> loaded -> free output buffers ->
get buffer requirements and results in failure. Do streamoff
while client frees the first output buffer to resolve the issue.
Do not streamoff when dynamic buffer mode is enabled.

Change-Id: I45edd58d827b5706990d8bdf359661bd8eb691de
mm-video-v4l2: vidc: Amend debug log macros

Currently debug logs are not coming under conditional
statements if flower brackets are not used. Amend debug
log macros to print the logs without the need of any
flower brackets.

Change-Id: I0db3316774695fed481a137672b8d22a03fe85f4
Merge "mm-video-v4l2: vidc: Amend debug log macros"
Merge "mm-video-v4l2: vdec: streamoff while freeing first output buffer"
mm-video-v4l2: vidc: Amend debug log macros

Currently debug logs are not coming under conditional
statements if flower brackets are not used. Amend debug
log macros to print the logs without the need of any
flower brackets.

Change-Id: I0db3316774695fed481a137672b8d22a03fe85f4
mm-video-v4l2: vdec: streamoff while freeing first output buffer

Streaoff is being skipped if client sends commands loaded ->
idle -> allocate output buffers -> loaded -> free output buffers ->
get buffer requirements and results in failure. Do streamoff
while client frees the first output buffer to resolve the issue.
Do not streamoff when dynamic buffer mode is enabled.

Change-Id: I45edd58d827b5706990d8bdf359661bd8eb691de
Merge "mm-video-v4l2: vdec: streamoff while freeing first output buffer" into LA.BF.1.1.2_rb1.7
Revert "mm-video-v4l2: vdec: streamoff while freeing first output buffer"

This reverts commit e2980c0798a86aa9d613d0500eae0d702ed89d43.

Change-Id: Ic89e8fd275e5afcdab0bd79b991edac26a38de8b
mm-video-v4l2: vdec: Request buffer for input port after client reconfigures

When OMX client reconfigures, buffer requirement should be called
again, else ETB will fail as the buffers are not prepared.

Release driver buffers when all component buffers are released.
This is needed as component may transition back to idle state
from loaded state, and prepare_buf will fail if the buffers
are not unregistered from driver.

Change-Id: I02762574277a36f7ba334843b91cb77953cad5c9
Merge "Revert "mm-video-v4l2: vdec: streamoff while freeing first output buffer""
Merge "mm-video-v4l2: vdec: Request buffer for input port after client reconfigures"
Merge AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.00.00.016.011 on remote branch

Change-Id: I6381c1b98c30fa7c0dc87c6ff0434bee20117be3
Merge pull request #1 from AOSParadox/LA.BF.1.1.2_rb1.10

CAF UPDATE : LA.BF.1.1.2_rb1.10