media:dvb:mpq:video: Add video decoder error notification

Support to notify the video decoder hardware fatal error event to
dvb/video client

Change-Id: I08a116ca1143a137cc07d69498bcc3d0d2f87566
Signed-off-by: Satish Kumar Nagireddy <satishnagireddy@codeaurora.org>
Merge "media:dvb:mpq:video: Add video decoder error notification"
msm_fb: Proc entry in kernel for stats

Proc entry made to count number of frame repeats,
frame count from last frame repeat and frame count

Change-Id: I229a7992dcaa755eb7c1de393a2b19f860e5469b
Signed-off-by: Sakshi Sharma <sakshis@codeaurora.org>
Merge "msm_fb: Proc entry in kernel for stats"
msm_fb: display: Make vsync stats reading multi thread safe.

  There are chances where one thread blocks till timeout
  even after wakeup call made when multiple threads
  try to read the VSYNC stats. The present logic takes
  care of un-blocking all threads after wake up being
  called in ISR.

Change-Id: I5f86924745338488571e36960bb853cba8e9528d
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
Merge "msm_fb: display: Make vsync stats reading multi thread safe."
media: dvb: mpq: video: Frame rate extraction logic for MPEG2

 This change adds support for MPEG-2 frame rate extraction
 from sequence headers. Changes in frame rate are notified to
 MPQ Video Decoder via dvb/video GET_EVENT ioctl.

Change-Id: I0aafbbed92871d48ae594270557933d9c234daad
Signed-off-by: Sarthak Kukreti <skukreti@codeaurora.org>
media: dvb: Add meta-data buffer size check for decoder pull mode

Decoder filter notifies PES / frame via mpq_streambuffer by
adding a new meta-data packet to the meta-data buffer.
Pull mode logic verifies there is enough space in the data buffer of
the mpq_streambuffer but there is no check of the meta-data buffer.
Consequently, for large data buffers meta-data buffer size might be
too small and overflow can occur.
This change adds a check of the meta-data buffer fullness in pull
mode to prevent overflow.

Change-Id: Ib2805bf10eccbbf79cc076af61b31a72ff1f40cb
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Merge "media: dvb: mpq: video: Frame rate extraction logic for MPEG2"
Merge "media: dvb: Add meta-data buffer size check for decoder pull mode"
ASoC: msm: Adding ioctl for AVsync parameters

Adding support for set/get Avsync parameters on Q6.

Change-Id: Ibc7d6dff7bc2f66f5580a51d50105892506d9dae
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
ASoC: msm: Add support for delay in the CMD_RUN

Add an ioctl to add the delay for the CMD_RUN.

Change-Id: Ic6c23f00fb1173c428ae0699dbab083fc16a566f
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
ASoC: msm: Add support to select run mode for CMD_RUN

- CMD_RUN to DSP can be configured to run in
RUN_ABSOLUTE_TIME mode, RUN_RELATIVE_TIME mode, or
RUN_IMMEDIATE mode.
- Add support to expose this option to userspace.

Change-Id: I5fa8e149cc6fd38c667d552d60a58a50f5570ecc
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
ASoC: msm: Add suppor for PCM Plaback using Compreesed Driver.

Change-Id: Ie9d0c879e7b20d8c0bd8341d62f402d9d3621842
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
Merge "ASoC: msm: Adding ioctl for AVsync parameters"
Merge "ASoC: msm: Add support for delay in the CMD_RUN"
Merge "ASoC: msm: Add support to select run mode for CMD_RUN"
media: video: new deinterlacer setting

In order to increase the deinterlacer quality we change default
values to better values.

Change-Id: Ic3e2ac4b352ba00fb32eefb80c275bf1e55c0479
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
media: video: Expand configurable NR parameters

In order for customer to achieve level of acceptable NR vcap needed
to expose access to a few more NR registers.

Change-Id: If5fc18637255e4d6f68bfae76d72b6b49d9f9e44
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
media: video: Add ioctl for vcap tuning

To give more control to customer, tuning based on parameters given
to vcap from client is not added.

Change-Id: Iabe266dbb35e585db3db596e0cc87f151b425270
Signed-off-by: Terence Hampson <thampson@codeaurora.org>