summaryrefslogtreecommitdiffstats
path: root/include/camera/CameraParameters.h
Commit message (Collapse)AuthorAgeFilesLines
* Move CameraParameters.h to frameworks/native.Eino-Ville Talvala2012-03-141-666/+0
| | | | | | | | CameraParameters.h is indirectly required to implement the Camera HAL. Move it to frameworks/native. Bug: 6171735 Change-Id: I1bf4db228333be16fc7caa3c51280a9495293011
* Update camera continuous autofocus javadoc.Wu-cheng Li2011-10-281-9/+11
| | | | | | | | | | Suppose applications call autoFocus in CAF picture mode. If CAF is in the middle of scanning, the picture is very likely to be blurry. Change focus callback to return when the scanning finishes. bug:5514415 Change-Id: Ibcb8f92a5263d7dbd7cce54df3617fb21c6255d4
* Improve camera javadoc and fix some errors.Wu-cheng Li2011-10-131-10/+21
| | | | | bug:5169599 Change-Id: Ic2205770753ff462135f884fee0a888ca8ec832d
* Add video stabilization control to Camera parameters.Eino-Ville Talvala2011-10-121-0/+19
| | | | | | | | | 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
* Update camera javadoc about AE and AWB lock.Wu-cheng Li2011-09-221-16/+6
| | | | | | | | | - Autofocus does not lock AE and AWB. - stopPreview and takePicture do not clear AE and AWB locks. bug:5356404 Change-Id: I55d9b35f4ff746ecd2bff112c2674f1aa2543aca
* Add video snapshot camera parameter.Wu-cheng Li2011-09-011-0/+19
| | | | | | | | The API is still hidden. bug:5187868 Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
* Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE.Wu-cheng Li2011-08-181-6/+17
| | | | | | | The API is still hidden. bug:5086125 Change-Id: I69268a95ad6aae249771d3a8dfb423ffe2d87081
* Add camera bayer image format.Wu-cheng Li2011-08-041-0/+3
| | | | | | | | The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
* Add camera recording hint parameter.Wu-cheng Li2011-08-021-0/+11
| | | | | | | The API is still hidden. bug:4266229 Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
* Add camera face detection API.Wu-cheng Li2011-07-271-0/+10
| | | | | | | API are still hidden. bug:4460717 Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
* Merge "Improve android.hardware.Camera.Area javadoc."Wu-cheng Li2011-06-071-2/+2
|\
| * Improve android.hardware.Camera.Area javadoc.Wu-cheng Li2011-06-071-2/+2
| | | | | | | | | | bug:4553469 Change-Id: Iae88af354fee4925cb7978572c27f6dd5595ca59
* | 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-15/+44
| | | | | | | | | | | 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/+20
| | | | | | | | | | 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
* Clarify the meaning of weight in the focus and metering area HAL.Eino-Ville Talvala2011-04-251-9/+12
| | | | | | | | | Weigh values must be less than 1000, but have no restriction on their sum. Weights should be interpreted as per-pixel values, meaning larger areas will have more influence over focus/metering than smaller areas of the same weight. Change-Id: I988b74f988ddba2ff0c49d078ff3174b47cbae18
* Add camera metering area API.Wu-cheng Li2011-04-131-0/+38
| | | | | | | The API are still hidden. bug:3475893 Change-Id: Id4147528def5e0fe067e1a3ed315fa34c14a0640
* Add camera focus area API.Wu-cheng Li2011-04-081-0/+38
| | | | | | | | The API are still hidden. bug:3475893 Change-Id: I92405c9e332b7fb141788cda7ebc9705dd666c67
* Add YV12 preview format to camera parameter constants.Wu-cheng Li2011-02-241-2/+1
| | | | | bug:3463624 Change-Id: I8f2992dadfd3fb9e3c9d67743e52da7f3212827e
* Add preferred preview size support in the camera frameworkJames Dong2010-11-301-0/+23
| | | | | | bug - 3237021 Change-Id: Ica8a3ae5cfbee462b74de98770e33277186c9a2b
* am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbreadWu-cheng Li2010-11-191-10/+17
|\ | | | | | | | | * commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6': Improve camera documentation.
| * Improve camera documentation.Wu-cheng Li2010-11-191-10/+17
| | | | | | | | | | bug:3212606 Change-Id: Iee7106e4665c08a4c75471114010b75d63ac74ce
* | Video size retrieval/configuration support in camera halJames Dong2010-10-031-0/+31
| | | | | | | | | | | | | | | | | | 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-6/+8
|\ \ | |/ | | | | | | | | | | | | | | 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-6/+8
| | | | | | | | | | | | | | | | | | | | 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/+4
|/ | | | Change-Id: I5c8266348d0840361c8095ce351ac85c44d4068f
* Remove camera metering mode API.Wu-cheng Li2010-08-301-17/+0
| | | | | | Metering mode is not supported yet. Change-Id: Id6906d6ab0cd1a9dcbc5c303d8d5081b2cda699e
* Add camera fps range API.Wu-cheng Li2010-08-201-0/+15
| | | | | | | 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-0/+1
| | | | | | | | 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-0/+16
| | | | | | | | 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
* Document that autoFocus must be called in auto and macro mode.Wu-cheng Li2010-08-171-2/+6
| | | | Change-Id: Ia52f8bc8a75a7473edff50326a4a0467f4295e6a
* Improve camera documentation.Wu-cheng Li2010-08-121-13/+17
| | | | Change-Id: I3c9e5e6de5ce64b8d7d892483930238fa9cc247c
* Add KEY_SUPPORTED_METERING_MODES and fix some typos.Wu-cheng Li2010-06-041-0/+3
| | | | | bug:2737111 Change-Id: I108ae7057786921bf99385ad66dbc1f02d6a1448
* Add camera metering mode API.Wu-cheng Li2010-06-031-0/+13
| | | | | bug:2737111 Change-Id: Ie986fee56ebeaaed2d2efb757701dfe3ffdec8d8
* Add video frame parameter.Wu-cheng Li2010-05-281-3/+11
| | | | | | | | 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
* Improve GPS EXIF parameters comments.Wu-cheng Li2010-05-241-6/+9
| | | | Change-Id: I33f7487821b283fe746baa09a71a703ae763d66d
* 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/+21
| | | | | | | | 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-9/+2
|\ | | | | | | | | | | | | Merge commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728' into kraken * commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728': Add remove method in CameraParameters class.
| * Add remove method in CameraParameters class.Wu-cheng Li2010-05-111-9/+2
| | | | | | | | | | bug:2672651 Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00
* | Add continuous focus mode constant.Wu-cheng Li2010-05-101-0/+6
|/ | | | | bug:2612447 Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
* Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.Wu-cheng Li2010-04-101-0/+7
| | | | | bug:2544367 Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
* Add camera parameter string constant for "true".Wu-cheng Li2010-03-081-0/+3
| | | | | bug:2458926 Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
* Add location provider name to gps-processing-method in EXIF header.Ray Chen2010-03-051-0/+3
|
* Unhide zoom API.Wu-cheng Li2010-03-011-1/+23
| | | | bug:2458926
* Unhide exposure compensation API.Wu-cheng Li2010-02-261-7/+14
| | | | bug:2375993
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-0/+284