aboutsummaryrefslogtreecommitdiff
path: root/camera (follow)
Commit message (Collapse)AuthorAge
* 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>
* msm8996-common: QCamera2/HAL3: Remove unused err2 labelRanjith Kagathi Ananda2018-01-19
| | | | | | | | | Remove unused err2 label to avoid compiler warnings/errors CRs-Fixed: 1007835 Change-Id: I72fa3273f6399f85096d97f2fbf743a435466bd5 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: HAL: Fixed compilation error for AOSP upgradelidaw2018-01-19
| | | | | | | | Fixed compilation error for N CRs-fixed: 1007835 Change-Id: I732ea715d4d1b73e2705116d2278a34f56806c64 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: QCamera2:HAL : HAL1 Removal during Compile timeShukla Mradul2018-01-19
| | | | | | | | | | | | | | | Issue: Compile time HAL1 Removal as for IOT projects we are going to use only HAL3 so removing HAL1 Camera files from compile time. fix: Modified the Android.mk file to remove HAL1 during compilation.In case if HAL1 is not getting compiled muxer object is also not created in QCamera2Factory. CRs-Fixed: 1021955 Change-Id: I17af448d7c423c73c5f3c29e95fb42cc69ca5944 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: Fixes to OSS camera hal to build in LineageOS treePrateek Chaubey2018-01-19
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: zuk: Import OSS Camera HALPrateek Chaubey2018-01-19
| | | | | Tag: LA.HB.1.3.2-32600-8x96.0 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: Drop wrapperdavidevinavil2018-01-19
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* camera: Fix camera-wrapper builddavide2017-12-06
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: add HAL3 wrapper to disable openLegacycodeworkx2017-11-09
| | | | | Change-Id: Id4a356cc4151b7cf6cff8d4ebb2f36c8c5e53e3a Signed-off-by: dd3boh <dade.garberi@gmail.com>
* z2_plus: Switch to stock aosp camera implementationdd3boh2017-10-31
| | | | | | * With the wrapper this just works good Signed-off-by: dd3boh <dade.garberi@gmail.com>
* z2_plus: Rename services so that it doesn't create problems when both ↵dd3boh2017-10-31
| | | | | | z2_plus and z2_row device trees are there Signed-off-by: dd3boh <dade.garberi@gmail.com>
* z2_plus: Last edits to make camera workingdd3boh2017-10-31
| | | | | | | | | | Thanks @erfanoabdi, I actually love him not <3 Well, I didn't explained before about this so let's explain now: this necesity came up from the fact that LOS abandoned a patch (TARGET_USES_NON_TREBLE_CAMERA) that we needed and thanks to which camera started working for us, so we came up doing this directly because is the easiest way at all instead of making a camera wrapper or something like this, and we will keep this until it's needed to, and I don't have any problems in keeping it forever working perfectly. Signed-off-by: dd3boh <dade.garberi@gmail.com>
* Camera: zuk: Add support for non-treble camera blobsLuK13372017-10-31
| | | | | | | | | | | | | * Camera HALs before Treble used to pass camera id in user field, in Treble they are meant to pass pointer to CameraDevice. * This patch workarounds this by storing local pointer to CameraDevice and not relying on user field. * Similar to demon000's CameraWrapper solution but it doesn't require wrapping the HAL which could theoretically break HAL3 compatibility. Change-Id: Iadf0359878f71f4da0a3f952b3af5b914bd49fa8
* z2_plus: camera: rename various servicesdd3boh2017-10-31
| | | | Signed-off-by: dd3boh <dade.garberi@gmail.com>
* z2_plus: camera: service: Remove service partdd3boh2017-10-31
| | | | | | Would just be a dupe Signed-off-by: dd3boh <dade.garberi@gmail.com>
* camera: Fork camera provider 2.4 and camera device 1.0 from ↵dd3boh2017-10-31
| | | | | | | | | hardware/interfaces/camera camera/device/1.0/default -> camera/zuk camera/provider/2.4/default -> camera/provider Signed-off-by: dd3boh <dade.garberi@gmail.com>
* Delete some don't needed stuffFedor9172016-11-10
|
* Initialising brunch based on davidevinavil device tree (CM14.0 branch)Fedor9172016-11-10