media: dvb: Fix H264 indexing configuration

When DMX_IDX_H264_FIRST_SPS_FRAME_START is requested,
need to search for IDR and non-IDR frames to detect
the first frame following SPS.

Change-Id: I35187abdab0269404bf1db3da4f771d4b588a45a
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
media: dvb: Report maximum value of STC

Applications need to know the maximum possible
value of STC that may be reported by demux to
handle wrap-around in STC counter.

Change-Id: I562a0a42523e3cb5473627e182fc68c42c326a14
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Merge "media: dvb: Fix H264 indexing configuration"
Merge "media: dvb: Report maximum value of STC"
media: dvb: mpq: video: add idr mode decode support

support for selecting decode mode
- I/IDR frame decode mode
- switching from I <--> ALL frame decode mode

Change-Id: I039ae6feaea3a4f8b3121bb2d12e52d886c55a16
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Merge "media: dvb: mpq: video: add idr mode decode support"
media : dvb : mpq : video - idr frame write in idr mode

 - Only I/IDR frames are written to video decoder in case of IDR mode
 - ALL farmes are written to video decoder in case of NON IDR mode

Change-Id: I609fa8ae41f4ebfc7e7b747af9de90c298c5b4cb
Signed-off-by: Neeraj Singh <sneeraj@codeaurora.org>
Merge "media : dvb : mpq : video - idr frame write in idr mode"
media : dvb : mpq : video :HW timer timeout changes

 - Timeout changes from 1sec to 5sec

Change-Id: If9d56b037309095300f93adc8e91cf1babd5543a
Signed-off-by: Neeraj Singh <sneeraj@codeaurora.org>
ASoc: msm: changed format id of MP2 codec format

changed MP2 codec format id.

Change-Id: I8f88af6d169daa770a48ad4a9e5912f3cde9243b
Signed-off-by: Vijendar Mukunda <mukunv@codeaurora.org>
Merge "media : dvb : mpq : video :HW timer timeout changes"
Merge "ASoc: msm: changed format id of MP2 codec format"
media: dvb: Pass error statistics to video consumer

Consumer of video data from mpq-stream-buffer may
use error statistics attached to each video frame
to decide whether to decode or drop the video frame.

Continuity counter errors are added to debug-fs.

Change-Id: I98a9fba2ab78e5538776742c57363f19ee6532bf
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
media : dvb : add error recovery in mpq dvb

 Drop the corrupted data in mpq dvb itself instead of
pushing to the video decoder.
 It prevents video decoder timeout and keeps the video
driver statemachine intact.

Change-Id: I34a32e81f726e34a77e60ae49f9bdb39217709e0
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
mach-msm: Fix definition of SPI interface for CI

SPI interface for CI bridge uses chip-select 2, and
interrupt line must be in pull-up in default state.
Add suspended state for SPI pins when SPI interface
is not active.

Change-Id: I8769ea1f83e6776a5d1cb3ca2d9494accc7616cc
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
media: dvb: Add detection of SEI messages

Video decoder expects SEI messages to be sent along
with the data of the following frame instead of the
preceding frame.

Detection of SEI messages allows closure of previous
frame data when SEI messages are encountered.

Change-Id: I43a292c4518592d45373c63eb8f2edae14b3adcd
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Merge "media: dvb: Pass error statistics to video consumer"
Merge "mach-msm: Fix definition of SPI interface for CI"
Merge "media: dvb: Add detection of SEI messages"
 media: dvb: mpq: add debug Support

 - debug support for input feed rate and video decode time.
 - runtime option to enable or disable error recovery.

Change-Id: I3641620cee3f172a76c414a31543084921ba70a5
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>