Camera: Change the postview from last preview buffer to VFE2 output for
7630 and 8660.

Remove using last preview frame as post view for 7630 and 8660. Configure and use
VFE other output for postview instead.

CRs-Fixed: 253231

Change-Id: I03fdb144624f22ddd1a13958dc0ded4c317f05af
Camera: Add support for Selectable Zone Af feature in HAL.

Change-Id: I4aca55237be97058dcfa1376a0d329cbe30a40a9
Camera: enable fps setting and frame rate mode setting for vx6953 sensor

Enable setting FPS and frame rate modes for vx6953 sensor as support is
available from camera stack now.

Change-Id: I3bc26a6c37a1f576e674c33057968cc0544a808b
camera: correct the display heap dimensions for adreno snapshot

Pass the snapshot dimensions in notifyShutter, so that correct
dimensions will be registered with surface flinger.

Change-Id: Idf82fce66900e7786fcbdcd34b026462ba2ed7cf
Camera: Enable yuv web camera sensor on 8x60

Change-Id: I70ce64b74177309e8a27f2e0ffec64366fb616f9
CRs-Fixed: 255642
Ensure that native_prepare_snapshot is called only once

Checks are placed to ensure that native_prepare_snapshot is
called only once.

Change-Id: I9a579982dec372a31f6d57602e8c17f66d175a3e
Camera: Modify camframe timeout interface to support other errors.

Enhance camframe timeout interface to support timeout and ESD error
events.

Change-Id: Ib0ed72f76956aa77713bb5545ed80e166ef74776
CRs-Fixed: 256140
Camera: Ensure Overlay is created with Preview Sizes for Raw Snapshot

Overlay creation failed at sometimes for a RawSnapshot case.
Thus it causes delay for the snapshot to complete.
CRs-Fixed: 255923

Change-Id: I2c4a6e01b5f7d95d65f7913ad8a13a02c5db5f84
camera: Increase the maximum fps limit from 30 to 31

Increase the maximum FPS limit from 30 to 31 as required by the camera
stack to achieve 30 fps in video recording.

Change-Id: I5880bbed0e1a44aeee6a80561ca7224cb883a784
CRs-Fixed: 256371
Camera : Use vfe main output for thumbnail generation and other vfe output
for snapshot post view.

CRs-fixed : 253598 , 256501

Change-Id: Idc7c97605baa7d817b90e00da0d6e57af378da51
Camera : Disable setting ISO values  for YUV Sensor.

Change-Id: I86c443ff6e40e1d7c89542b5544a0c2694833201
Camera : Add HAL support for Skin Tone Enhancement

Change-Id: I2681766184cc3c1f28d4b9e810ef08141b86261d
Camera: Enable Antibanding for certain BeshShotMode

AntiBanding is enabled for certain Indoor type BeshShotModes.
CRs-Fixed: 257456

Change-Id: Ie5d4e488e43d0e8782853935a77a1786a99ef1f1
Camera: Fix the crash in switch between camera and camcorder for ov7692 sensor

Crash during switch between camera and camcorder is caused because
the default preview size of WVGA is not supported by YUV VGA Web Camera Sensor
which causes setParameter call to fail.

Change-Id: I1ec9047fd1bfa33dccf78f208c4c2eee6e0e2cf7
CRs-Fixed: 259085
Camera: get offsets and buffer size from jpeg for thumbnail

With the jpeg downscaling changes for thumbnail padding, HAL needs to
get offsets and buffer size from jpeg encoder.

Change-Id: Icd680da9ba8295f957a1449528ccceaef24978af
Camera: After the postview, reset the crop information

After a postview, reset the crop information so that the postview crop
information won't be carried over to preview frames.

Change-Id: I575f1f256a3ce2aa73a01b7de6151f606ae2cbab
CRs-Fixed: 260036
Camera: pass proper zoomCropInfo parameters to overlay setCrop

Pass the x and y parameters of overlay's setCrop as zero when they
are negative. These values will become negative when the crop
information recevied at camera HAL has in1_wXin1_h and out1_wXout1_h
the same.

Change-Id: I407fb551771130cec3f103b7927001f9c43deeb4
CRs-Fixed: 260180
camera: calculate the postview dimensions based on picture size aspect
ratio.

To support picture size aspect ratios in general, calculate postview
dimensions based on picture size aspect ratio instead of using preview
sizes. Call PRAM_DIMENSION ioctl before allocating the thumbnail
buffers, beacuse this ioctl can return the updated thumbnail dimensions
based on picture size aspect ratio and camera stack requirement.

Change-Id: Ibd7eb4344d86cb48fa1b8fbd14c587bd5e46b878
Camera: Add thumbnail size for new snapshot resolution

Difference in aspect ratios of snapshot and thumbnail resolutions
is causing corruption in thumbnail.New thumbnail resolution(256X154)
matches the aspect ratio of snapshot resolution 2048X1232.
Adding this new thumbnail size resolves the issue.

Change-Id: I95b6d5d4582fc1e55a94e73565cfacf8ec30a527
CRs-Fixed: 257974
Camera: wait for the snapshot thread to complete before clearing
resources.

Wait for the snapshot thread to get exited, before clearing the
mainimage, thumbnail and other buffers, so that there won't be any
reference to cleared memory at camera stack.

Change-Id: I8f5910f4c89d36ff0f9eb0297707d1342d7693d8