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: add set ctrl for dynamic buffer mode

set ctrl for dynamic buffer mode

Change-Id: Iafb9541bd185a474b169dfe17a5a278b930bdad6
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
msm: vidc: move buffer handling inside msm_vidc

Dynamic buffer mode support will require buffer
handling support in vidc layer, rather than v4l2
layer.

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

Conflicts:
	drivers/media/platform/msm/vidc/msm_v4l2_vidc.c
msm: vidc: cleanup vidc function to register o/p buf

This change modularizes map_and_register_buf function
used to add o/p buffer to registered buffer list.

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