summaryrefslogtreecommitdiffstats
path: root/camera/CameraParameters.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add LG camera HAL parametersmadmack2013-08-181-0/+23
| | | | Change-Id: I0a1d8c4216654abeb3de9882637ad15bc9c23dc9
* Add some Samsung camera color effectsJavier Ferrer2013-07-191-0/+9
| | | | Change-Id: I6bf0c7fa0b9b86ed56d8f974fe49564c02e6b47d
* Camera: Add more htc parametersatis1122013-06-301-0/+3
| | | | Change-Id: Ica43a42f6ec6e25671b22536c768140469fb9824
* camera: add more htc parametersDaniel Hillenbrand2013-06-271-0/+1
| | | | | | Google Edition Change-Id: I67968ea749dec0bf3810110f99bccdd3edee3428
* camera: fixup htc paramsDaniel Hillenbrand2013-05-051-5/+10
| | | | Change-Id: Iee0086e8a7319ada09f5191092c314c099e0d66a
* [WIP]: camera: add parameters for htc camerasDaniel Hillenbrand2013-05-041-0/+35
| | | | Change-Id: I1456e5af22d1cb68fd19626a136fef68c5573074
* camera: Don't segfault if we get a NULL parameterSteve Kondik2013-05-011-0/+3
| | | | | | * Values end up NULL on some drivers, don't crash. Change-Id: Ic897dbd4629cf3af98c85f93be202c382dde806b
* camera: Add a few missing legacy camera params.Matt Filetto2013-04-281-0/+4
| | | | | | Fixes camera for some HTC msm7x30 devices Change-Id: If6975e3a5470fdeb603bf8ad9c164c9a000309ef
* Add camera parameters for htc evo 3D. (1/2)Kevin Bruckert2013-04-281-0/+9
| | | | | | Use BOARD_HTC_3D_SUPPORT to enable. Change-Id: I28fa3f1586071bcc78b8e887bbbf699d338a0ceb
* Camera parameters for Samsung's qcom based legacy devicesArne Coucheron2013-04-211-0/+30
| | | | Change-Id: I8f84e06771338d992521e69704d21cd113201b4b
* Camera: QCOM legacy definitions,HTC cam switch,NO_UPDATE_PREVIEWtbalden2013-04-141-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating Camera parameters, and service with several compatibility patches: 1., QCOM legacy CameraParameters and functions: Adding these will make ICS qcomm camera blobs work on JB 4.2. Use BOARD_USES_QCOM_LEGACY_CAM_PARAMS := true in BoardConfig to use this. Also fixes the problem of legacy qcom camera blobs with recent libcameraservice QCOM_HARDWARE changes, where the orientation is messed up on first preview: the fix is leaving out setPreviewWindow(window) for legacy qcomm cam blobs. 2., Also adding NO_UPDATE_PREVIEW flag for legacy purposes. 3., Adding adding the set orientation patch: Always set buffers orientation when setting the qcom camera preview window Fixes the rotated preview on TouchPad https://github.com/CyanogenMod/android_frameworks_base/commit/1a8e41a3c7434737db89b604352575f8b3109e7a 4., camera: Full support for HTC camera switch 5., Adding more parameters for HTC Explorer Change-Id: I2bfc72b8ef027665356788f1db7f96b31d037dbe
* camera: add cityid parameter and getInt64 stub for t0lte camera halcodeworkx2013-01-171-0/+8
| | | | Change-Id: I28a1a909aa8267ba77c2b44d4191f7a92e8ef533
* Fix the build on non-QCOMSteve Kondik2013-01-091-3/+2
| | | | Change-Id: Idb8d5c98fbdc01e6063ad0eb224baba66acc813d
* camera: add power mode supportEmerson Pinter2013-01-081-0/+7
| | | | | | | Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF, branch ics_chocolate. Change-Id: I652d63c33db9a8da4a9f8f613be12877d032de37
* camera: add ISO3200 and ISO6400Emerson Pinter2012-12-231-0/+2
| | | | | | This change adds camera ISO 3200 and 6400, needed by some camera hal. Change-Id: I65172a7de6554c3c288f0a4153d3fcb432b70db8
* Camera: Qcom parameters partial rebaseAnkit Premrajka2012-12-051-3/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add customized parameters for qcom camera features. Squashed commit of the following submissions to CAF: camera: add custom camera parameters to hardware java file. Change-Id: Ic2b363df6d25a0c3a49aed30e717d10874f533ae Camera: Add support for wavelet denoise Change-Id: I97be72615fe5909987ac430034bbdc16f2d20509 Camera : Add support for histogram in frameworks Change-Id: Ibf751c3b2d488f4be0afaaa3e994372bafeffbe7 Camera: Add ZSL support in framework. Change-Id: I4e863020d7d407d9c3936beb83dc7abf385c4654 Camera: Add touch AF/AEC support in ICS framework In, ICS the old touch AF/AEC functions getTouchIndexAf(), setTouchIndexAf() etc are no longer valid. Added new functions to get the center of touched area. Change-Id: I37d00040f895cd8a4de2e2a438971aa2d9c1a045 Camera: Add support for Red eye reduction Change-Id: Iada280ac33aee8b1114dc40d8d79e0e47ad5c2fd Conflicts: api/current.txt Camera: Enable streaming texture and YV12 feature Change-Id: I814c92b469e0f25baef0ce80338761d1e6443085 Camera: Add frameworks support for high frame rate Change-Id: I9722e9b7e61433651ab5f76f76208853eb1fd849 Camera: Simplify ASD menu and best mode menu. Change-Id: Ia7a1eca9268eec021a6e2c3f7ce2a932e8819d50 Camera : Macro definition change. PIXEL_FORMAT_YV12 to "yuv420p" Why: CTS testcase is expecting "yuv420p" as the format string for YV12 mode. CRs-Fixed: 328252 (cherry picked from commit 0a263f67b75497e4b95b9de8c370ed9496ab59ef) Change-Id: I66f418a52775a969d81bcb332bbe500370e3ab7c Camera: Changes for face detection Change-Id: I7b2172e8690d6e23762e42f5888fecbfda15ba61 Camera: Add support for burst count Change-Id: I4488a5eac1eebb0b5c8e2cc7cbbe7be0c7301be7 Camera: enable HDR feature (cherry picked from commit e40770bbdadd925fc1e07a08249a15981b961570) Change-Id: Ie9ca3066e8e53710bf292d047a3724aefc029854 Camera : Add API to find fullsize liveshot support Change-Id: I3c2fc3578decbe5cf87fded5362f317df0b40b5e (cherry picked from commit 65d80f04892776eec1c19c844eacb8c454b4bd1a) Camera: Set default camera area string The default invalid value for KEY_FOCUS_AREA and KEY_METERING_AREA is changed to "(0,0,0,0,0)" CRs-fixed: 334934 Change-Id: I354802c8611ee5c00a591b96b1a1ca04926969cb Camera: Change the scenemode names in framework To comply with ICS API Specification, SCENE_MODE_AUTO changed to SCENE_MODE_ASD SCENE_MODE_OFF changed to SCENE_MODE_AUTO Change-Id: I8e744f10c728f469923b09f69d6d64bc5c7c6850 Camera : Framework changes for camcorder UI menu Change-Id: Iff9e9021da44b67f81a24c828b960113ee249248 Camera : Remove unwanted video resolution in Framework - FWVGA, WQVGA resolution UI options are removed for camcorder. Change-Id: If621140966b01dbc8c30a4d161e6771528b8adda Camera : Enable FWVGA and WQVGA resolutions in camcorder media profiles Change-Id: Iad9cc33f7b6d8eb7de21df372c016edeef0b99ba Unlock camera AWB lock only when white-balance is changed. bug:5633546 Change-Id: I90bb4b5b445daedf38a64e2f8fb980fc0f0aaa81 Change-Id: Ie3cc15132489502e64321776d49d96846b5705d6 Conflicts: camera/Android.mk camera/CameraParameters.cpp include/camera/CameraParameters.h services/camera/libcameraservice/CameraService.cpp services/camera/libcameraservice/CameraService.h
* camera: add iso parametercodeworkx2012-11-271-0/+5
| | | | | | | | | | | Enable with BOARD_CAMERA_HAVE_ISO From: jt1134 <jt1134@gmail.com> Date: Mon, 17 Sep 2012 22:05:04 -0500 Subject: [PATCH] camera: add define for ISO settings Change-Id: I8716a260ad552d3684197237c2055dce129e461e ---
* camera: add parameters for samsung camerascodeworkx2012-11-271-0/+7
| | | | | | | | | | | | | | | | | | | From: codeworkx <codeworkx@cyanogenmod.com> Date: Sat, 22 Sep 2012 11:36:26 +0200 Subject: [PATCH] camera: added weather key for samsung cameras Change-Id: I1c6dc38f548fb3087abbdf7d7f83c39afaa217a1 --- From: Steve Kondik <shade@chemlab.org> Date: Tue, 15 May 2012 09:41:02 -0700 Subject: [PATCH] camera: Add parameters for some Samsung cameras * Enable with SAMSUNG_CAMERA_HARDWARE * Adds anti-shake, metering, and wdr modes. Change-Id: I080c90e11fcb8fa48900c01a454868f173f61eb0 ---
* DO NOT MERGE: Remove experimental parameters for burst modeJames Painter2012-09-281-5/+0
| | | | | Bug: 7248756 Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
* Camera: Add HDR scene mode constants.Eino-Ville Talvala2012-09-101-0/+1
| | | | Change-Id: I78b1f8ca3c1a03222ed363db26d9a09cf0b13528
* Camera2: Add a burst mode skeleton.James Painter2012-09-071-0/+5
| | | | | Bug: 6243944 Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
* Camera: Add OPAQUE pixel format to CameraParametersEino-Ville Talvala2012-07-181-0/+1
| | | | | | | | This is only used to support recording with HAL 2 in the KEY_VIDEO_FRAME_FORMAT parameter, and is not exposed to applications. Bug: 6243944 Change-Id: I5976a748d199ae98189bd03af5bbd9e18cbd6bf0
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-4/+4
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-031-2/+2
| | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
* Add video stabilization control to Camera parameters.Eino-Ville Talvala2011-10-121-0/+2
| | | | | | | | | Hardware video stabilization reduces camera shake in preview and in recorded videos. It has no effect on still image capture. Convenience accessor methods hidden for now. Change-Id: Ie18450bff662b2ef98b85d19719beefc180975fc
* Add video snapshot camera parameter.Wu-cheng Li2011-09-011-0/+1
| | | | | | | | The API is still hidden. bug:5187868 Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
* Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE.Wu-cheng Li2011-08-181-0/+1
| | | | | | | The API is still hidden. bug:5086125 Change-Id: I69268a95ad6aae249771d3a8dfb423ffe2d87081
* Add camera bayer image format.Wu-cheng Li2011-08-041-0/+1
| | | | | | | | The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
* Add camera recording hint parameter.Wu-cheng Li2011-08-021-0/+1
| | | | | | | The API is still hidden. bug:4266229 Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
* Add camera face detection API.Wu-cheng Li2011-07-271-0/+2
| | | | | | | API are still hidden. bug:4460717 Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
* CameraParameters: add PIXEL_FORMAT_RGBA8888Iliyan Malchev2011-06-061-0/+1
| | | | | Change-Id: I2780e936f5b4628d506ac4e6947b78ef831fbde8 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Add auto-white balance locking to the Camera API.Eino-Ville Talvala2011-05-171-0/+2
| | | | | | | | | | | Adds a new camera parameter for locking auto-white balance to its current value. Also adds a function for checking if auto-white balance lock is supported by the current platform. Lock semantics match that of the auto-exposure lock. Hidden for now. Change-Id: Id59339a4be84d55c1b0b8473d765b6aa765999b2
* Add an auto-exposure lock feature to the Camera API.Eino-Ville Talvala2011-05-021-0/+3
| | | | | | | | | | Adds a new camera parameter for locking auto-exposure to its current value. Also adds a function for checking if auto-exposure lock is supported by the current platform. Hidden for now. Change-Id: Id452371191ab220318ce2cb98b8ee91bdde9aab6
* Add camera metering area API.Wu-cheng Li2011-04-131-0/+2
| | | | | | | The API are still hidden. bug:3475893 Change-Id: Id4147528def5e0fe067e1a3ed315fa34c14a0640
* Add camera focus area API.Wu-cheng Li2011-04-081-0/+2
| | | | | | | | The API are still hidden. bug:3475893 Change-Id: I92405c9e332b7fb141788cda7ebc9705dd666c67
* Add YV12 preview format to camera parameter constants.Wu-cheng Li2011-02-241-1/+1
| | | | | bug:3463624 Change-Id: I8f2992dadfd3fb9e3c9d67743e52da7f3212827e
* Add preferred preview size support in the camera frameworkJames Dong2010-11-301-0/+9
| | | | | | bug - 3237021 Change-Id: Ica8a3ae5cfbee462b74de98770e33277186c9a2b
* Video size retrieval/configuration support in camera halJames Dong2010-10-031-0/+23
| | | | | | | | | This is the first part of the camera hal change required for 0-memcpy of input video frames for video recording. o removed check in setVideoSize()/getVideoSize() for impl consistency Change-Id: I01274a62b9f9eaf32154d98f8d0bfedacf645698
* am 2ad1ebca: am d45cb72a: Rename FOCUS_MODE_CONTINUOUS to ↵Wu-cheng Li2010-09-211-1/+1
|\ | | | | | | | | | | | | | | | | FOCUS_MODE_CONTINUOUS_VIDEO. Merge commit '2ad1ebcaabb632c8fe714f0c3fd88bdfa14697bd' * commit '2ad1ebcaabb632c8fe714f0c3fd88bdfa14697bd': Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.
| * Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.Wu-cheng Li2010-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | This constant is not public yet. Continuous autofocus should behave differently in still camera and camcorder. In camcorder, lens movement may be more smooth. And the triggers to start a new focus search may be different. If there is a need, FOCUS_MODE_CONTINUOUS_PHOTO can be added in the future. Change-Id: I05df9e491aca37829be3df92a73b952f26c86a4a
* | Add YUV420P color format support for video output from camera halJames Dong2010-09-161-1/+1
|/ | | | Change-Id: I5c8266348d0840361c8095ce351ac85c44d4068f
* Remove camera metering mode API.Wu-cheng Li2010-08-301-7/+0
| | | | | | Metering mode is not supported yet. Change-Id: Id6906d6ab0cd1a9dcbc5c303d8d5081b2cda699e
* Add camera fps range API.Wu-cheng Li2010-08-201-30/+29
| | | | | | | Original preview frame rate API assumes the frame rate is fixed. It does not not work with auto frame rate camera. Change-Id: I38f7122ac8ec844ffd63558dc0763ffa17b0926a
* Adding getSupportedPreviewSizes to CameraParameters.DO NOT MERGENipun Kwatra2010-08-191-25/+36
| | | | | | | | Moved functionality to parse string of sizes from getSupportedPictureSizes to parseSizesList. Added getSupportedPreviewSizes which returns a list of supported preview sizes. Change-Id: I41d4f62f9f1641e9e9258aa2ebaeda13ba846c02
* Adding getSupportedPictureSizes to CameraParameters.DO NOT MERGENipun Kwatra2010-08-191-2/+31
| | | | | | | | Also added a struct 'Size' containing a width and a height field. Modified parse_size to optionally set an end pointer pointing to the character after the found size. Change-Id: I0c95ebf1ad4684721b32165f363db7d4d15a1b19
* Add KEY_SUPPORTED_METERING_MODES and fix some typos.Wu-cheng Li2010-06-041-3/+4
| | | | | bug:2737111 Change-Id: I108ae7057786921bf99385ad66dbc1f02d6a1448
* Add camera metering mode API.Wu-cheng Li2010-06-031-0/+6
| | | | | bug:2737111 Change-Id: Ie986fee56ebeaaed2d2efb757701dfe3ffdec8d8
* Add video frame parameter.Wu-cheng Li2010-05-281-0/+1
| | | | | | | | The image format of preview frames and video frames may be different. We need another parameter for video frame format. bug:2720893 Change-Id: I966a31b0ce8cab25cdde65db65a18c8cbe9c7bd6
* Fix build error.Wu-cheng Li2010-05-151-1/+1
| | | | | | Original name INFINITY conflicts with the macro in math.h. Change-Id: I9845ed84fca17813dd971239a902cc1e0bad1e3e
* Add camera focus distances API.Wu-cheng Li2010-05-151-0/+2
| | | | | | | | Applications can use this API to estimate the distance between the subject and the camera. bug:1955650 Change-Id: Ie6c8ea4971759cab6c9bcdda2c5ceb5925791c27