vidc: Turbo mode for multiple instances

If macroblock count per second goes beyond 1080p 30fps,
then bump the clock to turbo on supported platforms.

CRs-fixed: 455464
Change-Id: I48c34c9b6987706ea3e6b412b57791e2ae07ba52
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Signed-off-by: shao2610 <1358410784@qq.com>
msm: vidc: Adds AU delimiter support for AVC.

Add new V4L2 control to set AU delimiter for AVC.

CRs-Fixed: 389030
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
(cherry picked from commit efe5bf34b4a98849ab2dcd34945815e218308eaa)

Conflicts:

	include/linux/videodev2.h

Change-Id: Ib82f8ad5d307649f070213554be69491d57daebe
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: shao2610 <1358410784@qq.com>
msm: vidc: Adds VUI timing info support for AVC encoding.

Poor video quality is observed as VUI fps information is not present in
the encoded bit stream. Add support for VUI timing info in video driver
and an additional V4L2 control to set from user space.

Change-Id: I7f6f4f81b94b731d647f68e01d08cbc7d20d476d
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: shao2610 <1358410784@qq.com>
msm: vidc: Set CODECCONFIG for buffers with sps/pps

The client needs a way to know if a buffer contains the sps/pps.  Hence
mark the v4l2 buffer with V4L2_QCOM_BUF_FLAG_CODECCONFIG.

Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
(cherry picked from commit aa653ab90045dc61b9abc5862b84e862b8506543)

Change-Id: Ib5507697323ffa80e7be00ddd8ccc6f0cc92eea8
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: shao2610 <1358410784@qq.com>