videodev2: fix double declarations

Change-Id: I84d1026d519b73adefce712f3710934f514e70e1
Revert "msm: vidc: Add support for decoder downscaling"

This reverts commit 725fc79b988a8b5eae6215675b1155eb232936a8.

Change-Id: I32c667d5a4c697d96c0c177a7419109d893ba042
Revert "msm: vidc: Add support for encoder deinterlacing"

This reverts commit bf74bb1412e5a8c815e82f034170060aa5cbc237.
msm: vidc: Add a control to disable the bit stream restrict flag

HFI_PROPERTY_PARAM_VENC_H264_VUI_BITSTREAM_RESTRC is set to true by
default in firmware, generating VUI which some decoders don't support.
This change provides an option to turn off the bitstream restrict
flag which, when used in conjunction with other VUI-related controls
being disabled, will prevent the encoder from generating VUI entirely.

Change-Id: Idb00d942bdd82b80001f9fda47a84aee231e4bdd
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: Add control to preserve text quality

V4L2_CID_MPEG_VIDC_VIDEO_PRESERVE_TEXT_QUALITY allows the client to
tell the encoder to preserve the text quality whenever a given frame
contains text elements.  This reduces the amount of artifacts around the
text in the encoded frame.

Change-Id: If75ea580adaedc896d8a31410a194076f38b5179
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: set ctrl to request sequence header for encoder

The encoder depended on a debug variable i.e. ftb_count, to
request firmware to send sequence header. Remove this
dependency and make the request only when the encoder
client requests using the provided set ctrl.

b/11051201

Change-Id: Iac4104c33eef62da553066c736b7adc87834d2ac
Signed-off-by: Arun Menon <avmenon@codeaurora.org>