msm: vidc: Avoid memset of list elements in the buffer entry.

- Due to race condition between free buffer and flush output buffers,
  invalid buffer is getting accessed sometimes.
- Reset all the members in buffer entry except list elements.

Change-Id: Ia2a3bc4343fc557a6e6d7d9ad93a29a7ab3dfb81
CRs-Fixed: 411197
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
(cherry picked from commit 8105df366cf6b9f1ddbc15d561fb6a5f12540416)
msm: vidc: Add NV21 input format type

This change adds the NV21 format in different input
formats for YUV data.

Change-Id: Ide693295ae0cbc6724edfb8cbc0fba30009394b4
CRs-fixed: 448511
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
msm: vidc: Allow client to request sps/pps per IDR frame

Expose SET_SPS_PPS_FOR_IDR to allow client request sps/pps per IDR
frame.

Change-Id: Ifc58b89e5bb11f09ee8ce7cce206e8b71d5ef9a0
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
msm: vidc: Add ioctls for getting separate meta buffers status

Add ioctl for getting separate meta buffers status

Change-Id: Ib0cc347b5538ad6a0703f9b463dbcdd91f31dd54
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Revert "msm: vidc: Allow client to request sps/pps per IDR frame"

This reverts commit 06afc0d04d7b9a016db63c9dc6f203b2ebc54925.
Merge branch 'cm-10.1' of https://github.com/arco/samsung-kernel-msm7x30 into cm-10.1