aboutsummaryrefslogtreecommitdiff
path: root/camera (follow)
Commit message (Collapse)AuthorAge
* msm8996-common: camera: Fix snprintf string truncation errorRaghuram Subramani2024-10-16
| | | | Change-Id: I904b79168ee63e5b632f4933065ae76a54e387c0
* msm8996-common: camera: string() -> c_str()Raghuram Subramani2024-10-16
| | | | Change-Id: I5a2e0292e015ff4087e0c7a2130bc664725c6dca
* msm8996-common: Remove Qcamera2 -Werrordmd792022-08-07
| | | | Change-Id: I25c8945beb831e9d3ea83fde9b56c15cb7191d78
* msm8996-common: camera: Switch to display_headers lib includeBruno Martins2021-10-19
| | | | | | | | | 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
* msm8996-common: camera: Drop usage of LOCAL_COPY_HEADERSBruno Martins2021-10-19
| | | | | | | | | 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
* msm8996-common: camera: Use latest version of C++Davide Garberi2021-10-04
| | | | Change-Id: I732ae816cb882c8ec920c3ee6ae59a8bb8b362ad
* msm8996-common: qcom-camera: Completed FR49059 and FR49058Abhishek Jain2020-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* msm8996-common: camera: Changes to fix QCameraDisplay compilation issuesSanthosh Kumar Thimmanna Bhattar2020-01-25
| | | | | | Changes to fix QCameraDisplay compilation issue. Change-Id: Iaa28e2b0acff0556d6052945e446066aa27be5b1
* msm8996-common: camera: Account for HFR usecaseNich2019-02-06
| | | | | Change-Id: I073264683fd2e1f4065557ce09ed569dd1e1113f Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: HAL3: Use the largest fps range during video recordnichcream2019-02-06
| | | | | Change-Id: I45ddcc7dea608b4909442fdffdf65a9be5155977 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: Improve min frame rate hacknichcream2019-02-06
| | | | | | | | | | 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>
* msm8996-common: camera: HACK: Hardcode preview fps rangenichcream2019-02-06
| | | | | | | | | | * 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>
* msm8996-common: Hex edit mm-qcamera-daemon to use /data/vendor/qcamdavidevinavil2019-02-06
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Hex edit camera blobs to use /data/vendor/qcamMichael Bestas2019-02-06
| | | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I0ca268ec4cf71f80a5e341f0131c239ae0dd66fd
* msm8996-common: camera: dump: use vendor locationMarc Bourgoin2019-02-06
| | | | | | | * we no longer use /data/misc/camera Change-Id: I2092c20f002e2e5d577cb1ef8fecce21734ebdb4 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: QCamera2: HAL3: Add video encoder flags for high speed recordingSanthosh Kumar Thimmanna Bhattar2018-11-02
| | | | | | | | | | 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>
* msm8996-common: QCamera2: HAL: Fix CTS CameraDeviceTest issuesShobhit Singh2018-11-02
| | | | | | | | | | | 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>
* msm8996-common: camera: Use generated kernel headersBruno Martins2018-11-02
| | | | | Change-Id: I1508ce54fd99e87f2857e6c6141d5e90f5e9892b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Use $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usrDavide Garberi2018-09-27
| | | | | | | * "LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths (not module names)" Change-Id: I961b9aabc50fcd7a2a73dad0d824fa9987cdb831 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* Make QCamera2 modules build with VNDKJiyong Park2018-09-26
| | | | | | | | | | | | - 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>
* msm8996-common: Fix dependencies for mm-camera-interfaceYifan Hong2018-07-12
| | | | | | Test: mma -j BOARD_VNDK_VERSION=current Bug: 33241851 Change-Id: I603e86e78c80e592e852da184ca021fe42a8ea9a
* msm8996-common: Add libutils to libqomx_core and camera modulesVijay Venkatraman2018-07-12
| | | | | | | Bug: 33241851 Test: build target and pass CTS Test: With BOARD_VNDK_VERSION, mma works Change-Id: Ibb107bde19cd26675c41059a8c21d5f1f8ffa6bb
* msm8996-common: Replace libcamera_client to ↵Jiyong Park2018-07-06
| | | | | | | | | | | | | | 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
* msm8996-common: Build camera.* with BOARD_VNDK_VERSIONJiyong Park2018-07-06
| | | | | | | | | | | | 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
* msm8996-common: camera: Update jpeg thumbnail sizes entriesSanthosh Kumar Thimmanna Bhattar2018-05-09
| | | | | | | | | | 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
* msm8996-common: camera: HAL3: Set timestamps in private display metadataRanjith Kagathi Ananda2018-03-31
| | | | | | | | | | | 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
* msm8996-common: camera: Remove deprecated kernel header dependency path.Cosme Domínguez Díaz2018-03-29
|
* msm8996-common: Remove empty files.Cosme Domínguez Díaz2018-03-27
|
* msm8996-common: Back to stock's mm-qcamera-daemonCosme Domínguez Díaz2018-03-26
| | | | * It already use /data/vendor/camera/cam_socket
* msm8996-common: Use our own camera socket path.Cosme Domínguez Díaz2018-03-22
| | | | | | | * The path should have the same length as the previous one: /data/misc/camera/cam_socket * Also make the directory for the socket.
* msm8996-common: QCamera2: Change socket creation path as part of treble rulesRajshekar Eashwarappa2018-03-22
| | | | | | | | | | | 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
* msm8996-common: camera: HAL3: Error occurs while unmapping bufferShukla Mradul2018-03-20
| | | | | | | | | | | | | | 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
* msm8996-common: flash: Returning -ENOSYS error if torch mode not supported.Abhinav Sohane2018-03-20
| | | | | | | | | | | 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
* msm8996-common: camera: Remove AOSP FlagSuman Mukherjee2018-03-20
| | | | | | Removed AOSP flag to enable custom camera Features Change-Id: I58f6bab871625751e2ba2904904e5ceec8180dc2
* msm8996-common: Drop camera HAL test code.Cosme Domínguez Díaz2018-03-10
|
* msm8996-common: Don't build camera HAL test code.Cosme Domínguez Díaz2018-03-02
|
* msm8996-common: camera: HAL3: Return Error For Unsupported Stream FormatBinhao Lin2018-02-25
| | | | | | Return error code -EINVAL instead of 0 when the stream format is unsupported Change-Id: If6aee12c68054243a90d655bbaf0e95c36887682
* msm8996-common: camera: HAL1: fix HAL1 callback cookieLida Wang2018-02-25
| | | | | | | | | 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
* msm8996-common: camera: Added LOCAL_VENDOR_MODULE to set output path of the ↵Suman Mukherjee2018-02-25
| | | | | | | | | binaries Replaced LOCAL_PROPRIETARY_MODULE with LOCAL_VENDOR_MODULE to set the output vendor path for hal binaries and libraries Change-Id: Ib04d80eabc0e17f3863e956db5f2378e426c0687
* msm8996-common: camera: Vendor SeperationSauhard Pande2018-02-25
| | | | | | Moving camera hal and mm-interface binaries to /system/vendor/lib Change-Id: Ic639b698a8bf4418d51409342ab8f1187362a99b
* QCamera2:HAL: Fix for Sensor HDR.Mridul Singh2018-01-27
| | | | | | | | 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>
* msm8996-common: camera: Fix cleanstep file nameDavide Garberi2018-01-19
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: Remove check for TARGET_COMPILE_WITH_MSM_KERNELDavide Garberi2018-01-19
| | | | | | * That's used only in aosp trees usually Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* QCamer2:HAL3: VTS configurestream fix for invalid rotation value.Sauhard Pande2018-01-19
| | | | | | | | | | 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>
* QCamera2: Increase camera daemon start timeoutSanthosh Kumar Thimmanna Bhattar2018-01-19
| | | | | | | | | | | | 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>
* QCamera2: mm-camera-interface: Camera Daemon late start issue fixSuman Mukherjee2018-01-19
| | | | | | | | | 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>
* QCamera2: For supporting VNDK and Treble rules.Sauhard Pande2018-01-19
| | | | | | | | | | | | 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>
* msm8996-common: camera: Update to LA.HB.1.3.2-40600-8x96.0Davide Garberi2018-01-19
| | | | | | * 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>
* msm8996-common: QCamera2: Fixed compilation error for AOSP upgradeSuman Mukherjee2018-01-19
| | | | | | | Fixed compilation error for O Change-Id: I119310169015f5713ff78df090935777a8350795 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: QCamera2: Fix compilation errors for unused variables.Sanjeev Garg2018-01-19
| | | | | | | | Fixed compilation errors for unused variables CRs-fixed: 1003771 Change-Id: Idd0d1205178b37327e7712614104cda879bf26d7 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>