Commit graph

8 commits

Author SHA1 Message Date
Sampath Vangaveti
dc89a99bdd QCamera2: HAL/HAL3: Convert Boottime from ISP to MONOTONIC
Issue:
Diplay freeze observed sometimes, if there is any
suspend/resume of the device.
The issue found to be with differences in the timesources
used by display and camera for timestamp calculation.

Fix:
Measure the clock offset between BOOTTIME and MONOTONIC.
The clock domain source for ISP is BOOTTIME and
for display, it is MONOTONIC.
The offset is used to convert from clock domain of
camera to display.
Added following set prop to switch between camera time sources.

	persist.camera.time.monotonic <value>
Default value is 1.
value 0 indicates Boot time from camera.
value 1 indicates Monotonic time from camera.

Change-Id: I733aa17e89ccaa7f5ea6d2eae5e1cd6428c81a85
CRs-Fixed: 1005906
2018-07-15 06:58:15 +02:00
Sauhard Pande
15d619dd29 QCamera2: For supporting VNDK and Treble rules.
Issue: In accordance to treble rules libcamera_client.so cannot be
       used or included. For HAL1 needed support for values of
       Cameraparameters for HAL1 QCameraParameters

Solution: Included Cameraparameters.h and .cpp files to this location
          as well.

Change-Id: If04d8a342d1552d2f0ba665b08b312e98bf8b9f5
2018-07-07 07:47:01 +02:00
Suman Mukherjee
83d447f155 QCamera2: Fixed compilation error for AOSP upgrade
* Fixed compilation error for O
2018-07-07 07:44:41 +02:00
Ranjith Kagathi Ananda
2792329531 QCamera2: Resolve CLANG compilation errors
Resolve CLANG compilation errors

CRs-Fixed: 981949
Change-Id: Ibeaac796b5e5f0defae76a8ab9bd88d3d1e4c164
2018-01-31 05:35:55 +00:00
Rajaram Gudivada
6fb4d87d52 QCamera2: Max Fps updated as per typeof(MetaData_t::refreshrate)
Issue:
Type of refreshrate is different in different android versions
and if same camera code is used across the versions then
dereferencing the hardcoded int pointer to float resulting a zero.

Fix:
Update Max fps as per the type of(MetaData_t->refreshrate)

Change-Id: Ifced28cdc56252151be4f41e3e652be41af510a0
CRs-Fixed: 1018231
2017-12-12 11:04:13 +05:30
Vitaliy Tomin
880b26ccee land: import oss camera LA.UM.5.1-03810-8x37.0
additional cherry-picks:
 * b706b064b QCamera2: Fix compilation errors for unused variables.
 * 1e2ea589e HAL: Fixed compilation error for AOSP upgrade
2017-12-11 20:14:21 +05:30
karthick111
555ad6d36f land: Switch to prebuilt camera hal, blobs
Signed-off-by: karthick111 <karthickrko61@gmail.com>
2017-03-19 14:31:38 +01:00
Zhao Wei Liew
669d233045 land: Import OSS camera HAL
CAF revision: AU_LINUX_ANDROID_LA.UM.5.1_RB1.06.00.01.192.038

Change-Id: I87589fea5e9c00c3bdc9c79cc6b2d6453c3d09b3
2017-02-12 07:26:24 +08:00