| Commit message (Collapse) | Author | Age |
|
|
|
| |
Change-Id: I2cc8aabeef6e6079e87551cf220cedb3a568731c
|
|
|
|
| |
Change-Id: I25c8945beb831e9d3ea83fde9b56c15cb7191d78
|
|
|
|
|
|
|
|
|
| |
LOCAL_COPY_HEADERS is deprecated and Qualcomm HALs have been
updated to remove its usage. As a consequence, the display headers
are no longer copied to TARGET_OUT_HEADERS, so use the equivalent
header lib instead.
Change-Id: I85d229e536146b86662e9c9a28017d2448c856dd
|
|
|
|
|
|
|
|
|
| |
Google deprecated LOCAL_COPY_HEADERS in Android 11,
so use LOCAL_EXPORT_C_INCLUDE_DIRS instead.
Ref: https://android.googlesource.com/platform/build/soong/+/master/docs/best_practices.md#headers.
Change-Id: Id68bc83cf74f2af0037331ebe4d17819021b88e8
|
|
|
|
| |
Change-Id: I732ae816cb882c8ec920c3ee6ae59a8bb8b362ad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FR49059: Accessing AOSP/Google projects Headers
Description: Vendor modules cannot refer AOSP header
paths with absolute or Global Paths instead add
corresponding header library
FR49058 : VNDK compliance
Description : VNDK is set of AOSP libraries which
are exposed to vendor (partition) for development.
Example :
error: vendor lib "/vendor/lib/libeffects.so"
depends on non-eligible lib
"/system/lib/libeffectsconfig.so".
Here , QCOM vendor-partition Library
using lib outside VNDK from system.
CRs-Fixed: 2217547
Change-Id: I51a88145fccba592080d6287ae7ff14d12c65296
|
|
|
|
|
|
| |
Changes to fix QCameraDisplay compilation issue.
Change-Id: Iaa28e2b0acff0556d6052945e446066aa27be5b1
|
|
|
|
|
| |
Change-Id: I073264683fd2e1f4065557ce09ed569dd1e1113f
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: I45ddcc7dea608b4909442fdffdf65a9be5155977
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
AFAIK, there are apps that request 15fps min frame rate; this is
deliberate and we shouldn't change its default behaviour. But anything
that sets the min fps the same as the max fps definitely should just
stop.
Change-Id: I5c3a31241009ab79edba4191910ad99d2db30f71
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
* If userspace does not specify a range, it would be defaulted to
30000,30000 (30-30fps), which causes really bad exposure under
low light during video recording in certain apps (SnapdragonCamera
for one *cough cough*). We definitly do not want this.
* Work around this issue by always forcing min fps of 7.
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I0ca268ec4cf71f80a5e341f0131c239ae0dd66fd
|
|
|
|
|
|
|
| |
* we no longer use /data/misc/camera
Change-Id: I2092c20f002e2e5d577cb1ef8fecce21734ebdb4
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
High speed recording CTS test is failing due to missing stream
configuration for video encoder.
Added missing encoder flags for high speed vidoe recording.
Change-Id: I1167ad29c6b30f88d100833fbc7dffe468c93503
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Setting hotpixelMode, shadingmode values HIGH_QUALITY
for still_capture template and FAST for rest templates.
shadingmap_mode default value as OFF, for sensor type
RAW & Still_capture template setting as ON.
CRs-Fixed: 2263385
Change-Id: Ia36c373bc69424eaddd0f39a735ba84ad72829c2
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
| |
Change-Id: I1508ce54fd99e87f2857e6c6141d5e90f5e9892b
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
| |
* "LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths (not module names)"
Change-Id: I961b9aabc50fcd7a2a73dad0d824fa9987cdb831
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- unistd.h added for close, write, etc.
- libsystem_headers, libhardware_headers added because global include
path isn't provided when building with vndk
Bug: 69526027
Test: mma -j under QCamera2
Change-Id: Id3b59c12a89120cc7e378e873bb663926d3bd45e
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
| |
Test: mma -j BOARD_VNDK_VERSION=current
Bug: 33241851
Change-Id: I603e86e78c80e592e852da184ca021fe42a8ea9a
|
|
|
|
|
|
|
| |
Bug: 33241851
Test: build target and pass CTS
Test: With BOARD_VNDK_VERSION, mma works
Change-Id: Ibb107bde19cd26675c41059a8c21d5f1f8ffa6bb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
android.hardware.camera.common@1.0-helper
libcamera_client is not a VNDK library and thus not available to
vendors. These vendor libs were using the library due to CameraMetadata
and CameraParamters classes. The classes are now available via
.common@1.0-helper library which is available to vendors. Thus switching
to the lib.
Bug: 62523241
Test: 2017 pixel devices builds and boots. Camera functionalities work.
Change-Id: I16d0fcf94b54c480b8e817c63341fb9f45118867
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of relying on the global include paths, use the header
libraries. Global include paths are not available when building with
BOARD_VNDK_VERSION. pthread.h is included explicitly since it isn't
automatically available then.
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j camera.msm8996
Change-Id: I210629684ff3451512e2dc4391f6718d5ebdd19b
|
|
|
|
|
|
|
|
|
|
| |
CTS test case testJpegThumbnailSize is failing due to thumbnail
size 0x0 as CTS is expecting non zero size as first entry of the
available thumbnail sizes .
Updated jpeg thumbnail sizes entries as per the CTS test case.
Change-Id: I0ec090b0357c4703119c823667dc598d257f7f33
|
|
|
|
|
|
|
|
|
|
|
| |
Set the timestamp in display metadata so that clients aware of
private_handle such as VT can use this un-modified timestamps.
Camera framework is unaware of this timestamp and cannot
modify this
CRs-Fixed: 1050092
Change-Id: I78668d9981e354b6986caa75dca5721c1901e9b6
|
| |
|
| |
|
|
|
|
| |
* It already use /data/vendor/camera/cam_socket
|
|
|
|
|
|
|
| |
* The path should have the same length as the
previous one: /data/misc/camera/cam_socket
* Also make the directory for the socket.
|
|
|
|
|
|
|
|
|
|
|
| |
Issue: In Android O,camera_data_file is of type core_data_file_type
so qcamera dameon cannot have permission to access this file
as part of treble rules.
Fix: Created a file called vendor_camera_data_file of type data_file_type
at /data/vendor/camera and in mm-camera-interface changing the
socket creation path from /data/misc/camera to /data/vendor/camera.
Change-Id: I6712cadb90ec9c2d8bdf021f7e7b908c4c58f36f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue:
STL operation such as erase ,push_back needs to be atomic.
List to keep reprocessed meta and buffer is prone to
simultaneous access from other part of codes causing STL
operations to fail.
Fix:
Keeping STL operation of list for buffer and meta both in mutex.
Change-Id: I8b966ee993a981ae64099093ff131d305f0cca94
|
|
|
|
|
|
|
|
|
|
|
| |
Issue: VTSCameraProviderV2_4Target test case is failing in setTorch
mode.
Fix: Corrected returned error -ENOSYS (OPERATION_NOT_SUPPROTED) if
torch mode is not supported by cameraid
CRs-fixed:2091737
Change-Id: I9e9bb764016227fbd6cf036c753ca5aeff8eeb7e
|
|
|
|
|
|
| |
Removed AOSP flag to enable custom camera Features
Change-Id: I58f6bab871625751e2ba2904904e5ceec8180dc2
|
| |
|
| |
|
|
|
|
|
|
| |
Return error code -EINVAL instead of 0 when the stream format is unsupported
Change-Id: If6aee12c68054243a90d655bbaf0e95c36887682
|
|
|
|
|
|
|
|
|
| |
1. fix HAL1 memory callback cookie for Treble change
2. remove checking for VANILLA_HAL definition for O upgrade now
for initial bring up, until the removal of the TARGET_USE_AOSP
flag in devie mkfile.
Change-Id: Iedf5a97e9890bc7216a3008373ddef5005836a01
|
|
|
|
|
|
|
|
|
| |
binaries
Replaced LOCAL_PROPRIETARY_MODULE with LOCAL_VENDOR_MODULE to set the
output vendor path for hal binaries and libraries
Change-Id: Ib04d80eabc0e17f3863e956db5f2378e426c0687
|
|
|
|
|
|
| |
Moving camera hal and mm-interface binaries to /system/vendor/lib
Change-Id: Ic639b698a8bf4418d51409342ab8f1187362a99b
|
|
|
|
|
|
|
|
| |
Incase when sensor-hdr is enabled, need to disable the normal
HDR enabled flag.
Change-Id: Ibd7418d8abaabc03625a65fc228d0bac5528fd5e
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
| |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
| |
* That's used only in aosp trees usually
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Issue: ValidateStreamRotation was not checking invalid rotation values
(-1) due to this vts test cases is failing.
Fix: Added check for invalid rotation value (-1) in validatestreamR-
otation.
Change-Id: Ia14cad8974dc9086b59d87ba3e7aa2c80e89a5f7
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue:
Camera is not launching for the first time as camera
daemon is not up.
Fix:
Increase camera daemon start timeout
Change-Id: I2dd8ae904145ad5c067b27014cdb95c28084accf
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
| |
In Android O, Cameraporvider service is introduced newly and its
starting before main service which results in getnumofcameras failure.
Added re-try count to fix this issue.
Change-Id: I3a3ee1cbe6ad983d5ad7266f154b33b93d303804
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
| |
* The kernel camera driver is currently updated to this tag, so it should be just better to update the HAL too
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
| |
Fixed compilation error for O
Change-Id: I119310169015f5713ff78df090935777a8350795
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
| |
Fixed compilation errors for unused variables
CRs-fixed: 1003771
Change-Id: Idd0d1205178b37327e7712614104cda879bf26d7
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Remove unused err2 label to avoid compiler warnings/errors
CRs-Fixed: 1007835
Change-Id: I72fa3273f6399f85096d97f2fbf743a435466bd5
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|