aboutsummaryrefslogtreecommitdiff
path: root/camera (unfollow)
Commit message (Collapse)Author
2024-12-19msm8996-common: camera: Fix snprintf string truncation errorYumi Yukimura
* Now we truncate the string by ourselves, instead of letting snprintf to do so, which causes compilation error on U QPR3... Change-Id: Ic09cd438ef5a94f4d99d18e932b4aafd990fc753
2024-12-19msm8996-common: camera: string() -> c_str()LuK1337
Change-Id: I2cc8aabeef6e6079e87551cf220cedb3a568731c
2022-08-07msm8996-common: Remove Qcamera2 -Werrordmd79
Change-Id: I25c8945beb831e9d3ea83fde9b56c15cb7191d78
2021-10-19msm8996-common: camera: Switch to display_headers lib includeBruno Martins
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
2021-10-19msm8996-common: camera: Drop usage of LOCAL_COPY_HEADERSBruno Martins
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
2021-10-04msm8996-common: camera: Use latest version of C++Davide Garberi
Change-Id: I732ae816cb882c8ec920c3ee6ae59a8bb8b362ad
2020-01-25msm8996-common: qcom-camera: Completed FR49059 and FR49058Abhishek Jain
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
2020-01-25msm8996-common: camera: Changes to fix QCameraDisplay compilation issuesSanthosh Kumar Thimmanna Bhattar
Changes to fix QCameraDisplay compilation issue. Change-Id: Iaa28e2b0acff0556d6052945e446066aa27be5b1
2019-02-06msm8996-common: camera: Account for HFR usecaseNich
Change-Id: I073264683fd2e1f4065557ce09ed569dd1e1113f Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-02-06msm8996-common: camera: HAL3: Use the largest fps range during video recordnichcream
Change-Id: I45ddcc7dea608b4909442fdffdf65a9be5155977 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-02-06msm8996-common: camera: Improve min frame rate hacknichcream
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>
2019-02-06msm8996-common: camera: HACK: Hardcode preview fps rangenichcream
* 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>
2019-02-06msm8996-common: Hex edit mm-qcamera-daemon to use /data/vendor/qcamdavidevinavil
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-02-06msm8996-common: Hex edit camera blobs to use /data/vendor/qcamMichael Bestas
Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I0ca268ec4cf71f80a5e341f0131c239ae0dd66fd
2019-02-06msm8996-common: camera: dump: use vendor locationMarc Bourgoin
* we no longer use /data/misc/camera Change-Id: I2092c20f002e2e5d577cb1ef8fecce21734ebdb4 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2018-11-02msm8996-common: QCamera2: HAL3: Add video encoder flags for high speed recordingSanthosh Kumar Thimmanna Bhattar
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>
2018-11-02msm8996-common: QCamera2: HAL: Fix CTS CameraDeviceTest issuesShobhit Singh
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>
2018-11-02msm8996-common: camera: Use generated kernel headersBruno Martins
Change-Id: I1508ce54fd99e87f2857e6c6141d5e90f5e9892b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2018-09-27msm8996-common: Use $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usrDavide Garberi
* "LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths (not module names)" Change-Id: I961b9aabc50fcd7a2a73dad0d824fa9987cdb831 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2018-09-26Make QCamera2 modules build with VNDKJiyong Park
- 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>
2018-07-12msm8996-common: Fix dependencies for mm-camera-interfaceYifan Hong
Test: mma -j BOARD_VNDK_VERSION=current Bug: 33241851 Change-Id: I603e86e78c80e592e852da184ca021fe42a8ea9a
2018-07-12msm8996-common: Add libutils to libqomx_core and camera modulesVijay Venkatraman
Bug: 33241851 Test: build target and pass CTS Test: With BOARD_VNDK_VERSION, mma works Change-Id: Ibb107bde19cd26675c41059a8c21d5f1f8ffa6bb
2018-07-06msm8996-common: Replace libcamera_client to ↵Jiyong Park
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
2018-07-06msm8996-common: Build camera.* with BOARD_VNDK_VERSIONJiyong Park
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
2018-05-09msm8996-common: camera: Update jpeg thumbnail sizes entriesSanthosh Kumar Thimmanna Bhattar
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
2018-03-31msm8996-common: camera: HAL3: Set timestamps in private display metadataRanjith Kagathi Ananda
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
2018-03-29msm8996-common: camera: Remove deprecated kernel header dependency path.Cosme Domínguez Díaz
2018-03-27msm8996-common: Remove empty files.Cosme Domínguez Díaz
2018-03-26msm8996-common: Back to stock's mm-qcamera-daemonCosme Domínguez Díaz
* It already use /data/vendor/camera/cam_socket
2018-03-22msm8996-common: Use our own camera socket path.Cosme Domínguez Díaz
* The path should have the same length as the previous one: /data/misc/camera/cam_socket * Also make the directory for the socket.
2018-03-22msm8996-common: QCamera2: Change socket creation path as part of treble rulesRajshekar Eashwarappa
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
2018-03-20msm8996-common: camera: HAL3: Error occurs while unmapping bufferShukla Mradul
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
2018-03-20msm8996-common: flash: Returning -ENOSYS error if torch mode not supported.Abhinav Sohane
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
2018-03-20msm8996-common: camera: Remove AOSP FlagSuman Mukherjee
Removed AOSP flag to enable custom camera Features Change-Id: I58f6bab871625751e2ba2904904e5ceec8180dc2
2018-03-10msm8996-common: Drop camera HAL test code.Cosme Domínguez Díaz
2018-03-10msm8996-common: Drop camera HAL test code.Cosme Domínguez Díaz
2018-03-02msm8996-common: Don't build camera HAL test code.Cosme Domínguez Díaz
2018-02-25msm8996-common: camera: HAL3: Return Error For Unsupported Stream FormatBinhao Lin
Return error code -EINVAL instead of 0 when the stream format is unsupported Change-Id: If6aee12c68054243a90d655bbaf0e95c36887682
2018-02-25msm8996-common: camera: HAL1: fix HAL1 callback cookieLida Wang
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
2018-02-25msm8996-common: camera: Added LOCAL_VENDOR_MODULE to set output path of the ↵Suman Mukherjee
binaries Replaced LOCAL_PROPRIETARY_MODULE with LOCAL_VENDOR_MODULE to set the output vendor path for hal binaries and libraries Change-Id: Ib04d80eabc0e17f3863e956db5f2378e426c0687
2018-02-25msm8996-common: camera: Vendor SeperationSauhard Pande
Moving camera hal and mm-interface binaries to /system/vendor/lib Change-Id: Ic639b698a8bf4418d51409342ab8f1187362a99b
2018-01-27QCamera2:HAL: Fix for Sensor HDR.Mridul Singh
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>
2018-01-19msm8996-common: camera: Fix cleanstep file nameDavide Garberi
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2018-01-19msm8996-common: camera: Remove check for TARGET_COMPILE_WITH_MSM_KERNELDavide Garberi
* That's used only in aosp trees usually Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2018-01-19QCamer2:HAL3: VTS configurestream fix for invalid rotation value.Sauhard Pande
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>
2018-01-19QCamera2: Increase camera daemon start timeoutSanthosh Kumar Thimmanna Bhattar
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>
2018-01-19QCamera2: mm-camera-interface: Camera Daemon late start issue fixSuman Mukherjee
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>
2018-01-19QCamera2: For supporting VNDK and Treble rules.Sauhard Pande
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>
2018-01-19msm8996-common: camera: Update to LA.HB.1.3.2-40600-8x96.0Davide Garberi
* 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>
2018-01-19msm8996-common: QCamera2: Fixed compilation error for AOSP upgradeSuman Mukherjee
Fixed compilation error for O Change-Id: I119310169015f5713ff78df090935777a8350795 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>