camera: add support for samsung and htc camcorder modes

Change-Id: I56739157380f596c9f3bbbe7aecd8f532d619c72
camera: allow setting video-size before recording starts

Needed for some samsung cameras.

Change-Id: Ia0f5716d5e6815d249040b08313482a103a36863
camera: Add options to better control video preview size

 * usePreferredPreviewSizeForEffects is needed to fix camcorder effect on
   some MSM8660 devices.
 * Add ignorePreferredPreviewSizeForVideo to use the best size reported
   by the driver instead of the preferred-preview-size-for-video value,
   which may report something really awful.

Change-Id: I216502fe032a89f69e1aea11bc50c51634d40991
camera: Add ZSL support for Samsung/Qualcomm cameras

 * Preview management for Samsung/Qualcomm cameras

Change-Id: Ib36bd21c9a76b45bced3eee2f25acc35b5d82b30
Camera2: Port additional camera resolutions from CM10.1

Additional changes by Andrew Dodd:
In addition, properly mark widescreen resolutions as widescreen

Device maintainers may need to fix some of the string references
if they had widescreen resolutions improperly not marked
as such.

Change-Id: Icb90f8d38501bd0d551adce1752255ff4283bac0
camera: added needsEarlyVideoSize

Needed to fix crash on e.g. find5 when switching to
video mode on fromt camera

Change-Id: I1af8fd487f2e8ecf2fcf7b2b2aa9dce53da3f391