summaryrefslogtreecommitdiffstats
path: root/camera/CameraParameters.cpp
Commit message (Collapse)AuthorAgeFilesLines
* camera2: Add camera client eviction enforcement.Ruben Brunk2015-03-181-0/+4
| | | | | | | | | - This updates the CameraService to implement client eviction behavior based on process priority. Bug: 19186859 Change-Id: I646939b1cdf1a2237c4e5044164d55a2542cf36e
* Camera: Remove RAW_SENSOR in favor of RAW16Eino-Ville Talvala2015-02-191-1/+1
| | | | Change-Id: I69ca24c69f58be958efdef300b127401d2b2e880
* Camera2: Fix CameraParameters parse segfault.Ruben Brunk2014-11-201-0/+5
| | | | | Bug: 18331142 Change-Id: I41feec93f753f97b3e6bf963deb4a42b73406421
* am dd80baf5: am 1f15b117: Merge "libcamera_client: 64-bit compile issue"Mark Salyzyn2014-06-111-2/+2
|\ | | | | | | | | * commit 'dd80baf5413e3fb5ce5e1282ce9c0badd0b081f1': libcamera_client: 64-bit compile issue
| * libcamera_client: 64-bit compile issueMark Salyzyn2014-06-091-2/+2
| | | | | | | | | | | | | | - size_t print format - some unused parameter warning messages Change-Id: I2c0f50dda7e810f3f60603fd9d8c62c5b8767528
* | camera2: Update CameraService for HAL1 shim.Ruben Brunk2014-05-211-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the camera service to handle shim connections. Changes include: - Adds begin/end configure binder calls. - Adds cache for shim client static camera metadata. - Implements basic getCameraCharacteristic functionality for shim clients. Bug: 15116722 Bug: 15117269 Change-Id: I510c5888ca15f8e7d3b8ed1680ff1c7f8f514744
* | Revert "camera: Fix setParameters for Preview FPS single/range values"Eino-Ville Talvala2014-03-261-48/+5
| | | | | | | | | | | | | | | | Causes a regression on some devices, so reverting until we're in a position to fix those devices. This reverts commit 9078a1b3b9f9c0c48046ade0e8e18b0d79a659db. Bug: 13563098 Change-Id: I7aedd01fde8b8fdee77e972ec395f0ecadbf8ccb
* | camera: Fix setParameters for Preview FPS single/range valuesIgor Murashkin2014-03-201-5/+48
|/ | | | | Bug: 12609188 Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4db
* Make frameworks/av 64-bit compatibleKévin PETIT2014-02-111-1/+1
| | | | | | | | | | | | Contains the necessary changes to make frameworks/av build and work on a 64-bit machine. Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
* am 365ed394: Merge "Typo in CameraParameters::set"Jean-Baptiste Queru2013-07-081-1/+1
|\ | | | | | | | | * commit '365ed394c4135d9d42082c85638c076aed4bd156': Typo in CameraParameters::set
| * Typo in CameraParameters::setYou Kim2012-12-141-1/+1
| | | | | | | | | | | | Typo: 'key' --> 'value' Change-Id: Idd0426263cf2125a796406abaf6f29f04f425fe4
| * 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 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
* am d8c33747: am 78624e41: Add remove method in CameraParameters class.Wu-cheng Li2010-05-121-0/+5
|\ | | | | | | | | | | | | Merge commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728' into kraken * commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728': Add remove method in CameraParameters class.
| * Add remove method in CameraParameters class.Wu-cheng Li2010-05-111-0/+5
| | | | | | | | | | bug:2672651 Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00
* | Add continuous focus mode constant.Wu-cheng Li2010-05-101-0/+1
|/ | | | | bug:2612447 Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
* Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.Wu-cheng Li2010-04-101-0/+2
| | | | | bug:2544367 Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
* Add camera parameter string constant for "true".Wu-cheng Li2010-03-081-0/+2
| | | | | bug:2458926 Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead