QCamera2: Add property to control PAAF (revisited)

Add persistent property to enable/disable the preview assisted
AF feature. The property is persist.camera.stats.af.paaf and
by default the value is 1 (enabled).
Revision includes changes originally missed due to the propagation
and automatic approvals.

Change-Id: I7b3de2d1f87c437ff52d3052eb403c111f79f4de
QCamera2: Restart ZSL preview in longshot if needed

 Due to recent buffer count optimizations
 ZSL might run with considerably less buffers
 during longshot mode. Preview needs to
 restart in this case so that the intended
 number of buffers could get allocated.

Change-Id: I251ab7fabff46dd9ff322167b3fdbd4a9f8f23ef
Camera3: Handle AF & AE ROI as regular metadata

AF and AE ROI metadata should arrive at the same time than crop
metadata. Also if only one focus mode is supported AF region is going to
be disable since AF is not supported.

Change-Id: I331d673e75d3d7454ce814c5edd34a7e8f56b2df
Camera3: Fixes for Metadata reporting

-Move control mode reporting from urgent to non-urgent metadata
-Add reporting for ae mode

Bug: 14597991
Bug: 14599709
Bug: 14597337
Bug: 14492828

Change-Id: I222831d80df07a8350cd99f75b1d0301f50f6640
QCamera: Interface cleanup

- All size member variables changed to size_t.
  Others changed to named size types, e.g
  int changed to int32_t, etc.
- Moved macro CAM_DUMP_TO_FILE to
  'mm_camera_interface.h'.
- Removed irrelevant macro FLIP_V_H

CRs-Fixed: 641033
Change-Id: I81ab0766f8edf37938b1d167768782b27f75b3a6
QCamera2: Add support to send all images to app for refocus

encode and callback all the images to app to notify and
save them.

Change-Id: I05ba36efdd16d3ce85434c420ca745128da1322f
QCamera3: Apply persist.camera.stats.debug.mask for HAL3

Read the prop of persist.camera.stats.debug.mask from shell and
pass it to stats module

Change-Id: Ie0e49ba0cfd25176c8f5e73f3124f93baf5dd3b2
Qcamera2: Manual control support for ISP

Add enum and structure for compilation of backend.
Update the max gamma curve points.

Change-Id: I3937e3acfea3b2248d0f4a31a76e55c347ef1880
QCamera2: Enable concurrent RAW in continuous mode

 Concurrent streaming mode needs to be enabled
 for the RAW stream, additionally the number of
 buffers also needs to be increased to support
 this operating mode.

Change-Id: I4f71b103df8bd7e081e20e38e7ab947cc7884c14
Merge "QCamera: Interface cleanup"
Merge "QCamera3: Apply persist.camera.stats.debug.mask for HAL3"
Merge "QCamera2: Add support to send all images to app for refocus"
Merge "QCamera2: Add property to control PAAF (revisited)"
Merge "Camera3: Handle AF & AE ROI as regular metadata"
Merge "Camera3: Fixes for Metadata reporting"
Merge "QCamera2: Enable concurrent RAW in continuous mode"
Merge "Qcamera2: Manual control support for ISP"
QCamera2: set refocus by menu

Add support in HAL to set refocus by
user in menu

Change-Id: Ifd522d1ee54a59c3152b8882f60acd0929f2656e
Merge "QCamera2: Restart ZSL preview in longshot if needed"
Camera: Add HSR 60 and HSR 90 modes

Adding new features.

Change-Id: Ifd626455f77252712c60dfe48b6f9a764828a4ea