msm: vidc: Reduce calls to get buffer requirements

Reduce calls to firmware to get buffer requirements.
This call is very expensive causing too much delay
in video startup. Only calling this when necessary.

Change-Id: I01f59b5402e82a79742f257d39cda1c9504e6dd0
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
msm: vidc: Add input buffer flushing support

Flushing the core is now done with the V4L2_DEC_QCOM_CMD_FLUSH ioctl
rather than V4L2_DEC_CMD_STOP.  The latter is confusing and the
arguments specified by the V4L2 spec do not allow for flushing the input
and and output buffers seperately.

Change-Id: I53e18e06c4e09ee8496bdcc337b4798f22911708
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

Conflicts:
	drivers/media/video/msm_vidc/msm_vidc_common.c
msm: vidc: Pass on the CODECCONFIG flag to core

In case of SPS/PPS buffers in frame by frame mode,
the respective buffers must be marked with the
CODECCONFIG flag.

Change-Id: Iba29fc03ec736280f2babefc68d3380e856e3006
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
msm: vidc: Adds support for high bit rate and frame rate

Increased the maximum value for controls
V4L2_CID_MPEG_VIDEO_BITRATE and
V4L2_CID_MPEG_VIDC_VIDEO_FRAME_RATE thus by
increasing maximum supported frame rate and bit rate.

Change-Id: I6330d178d12652683cce793b7544572594b5dabf
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>