summaryrefslogtreecommitdiffstats
path: root/camera
Commit message (Collapse)AuthorAgeFilesLines
* Add preferred preview size support in the camera frameworkJames Dong2010-11-301-0/+9
| | | | | | bug - 3237021 Change-Id: Ica8a3ae5cfbee462b74de98770e33277186c9a2b
* Fixed a race condition where some recording frames may not be released.James Dong2010-11-151-0/+3
| | | | | | | | | | When startRecording() is called before setListener(), recording frames are sent right after startRecording(), but there is no listener to release the recording frames. This causes the hang in media server. bug - 3166356 Change-Id: I19366ca682ef9f6b847590c190c30a15ed32b8e4
* Camera framework change required for 0-memcpy recordingJames Dong2010-10-192-0/+79
| | | | | | bug - 3042125 Change-Id: I46eb7a10b5394086b353fd73e4503beceeed76f1
* 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
* | am 6e46e6f7: am 7ec7b997: Remove camera metering mode API.Wu-cheng Li2010-08-301-7/+0
|\ \ | |/ | | | | | | | | | | Merge commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5' * commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5': Remove camera metering mode API.
| * Remove camera metering mode API.Wu-cheng Li2010-08-301-7/+0
| | | | | | | | | | | | Metering mode is not supported yet. Change-Id: Id6906d6ab0cd1a9dcbc5c303d8d5081b2cda699e
* | am 346b6126: am 97a56269: Merge "Add camera fps range API." into gingerbreadWu-cheng Li2010-08-241-30/+29
|\ \ | |/ | | | | | | | | | | Merge commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e' * commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e': Add camera fps range API.
| * 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
| * resolved conflicts for merge of 27eecb70 to gingerbreadJean-Baptiste Queru2010-07-301-1/+0
| |\ | | | | | | | | | Change-Id: If064f2f4950fc1a4ff38e6927fe2120af76b26f1
| | * fix inaccurate copyrightsJean-Baptiste Queru2010-07-291-1/+0
| | | | | | | | | | | | Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
* | | Change the framework to use the new camera preview path.Jamie Gennis2010-08-232-21/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes the camera HAL interface take an ANativeWindow interface from which all the camera preview buffers will be allocated. The framework code running in application processes now passes a Surface object rather than an ISurface to the camera server via Binder when setting the preview surface. The camera server then forwards that Surface object (which implements the ANativeWindow interface) to the camera HAL, which uses it to communicate with SurfaceFlinger to allocate the camera preview buffers. Change-Id: Ie438f721559cd7de5e4f848a26d96360dda07b5f
* | | Adding parseSizesList, getSupportedPreviewSizes to CameraParameters.Nipun Kwatra2010-08-041-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: I435317427c1ee9623caef435f93e95d4476b7285
* | | Adding getSupportedPictureSizes which returns a Vector of supported Sizes.Nipun Kwatra2010-07-301-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: I51a56bbf2cb7c91d7b80a28e6bd6a559f40a1333
* | | am 4506c62a: fix inaccurate copyrightsJean-Baptiste Queru2010-07-291-1/+0
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Merge commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625' into gingerbread-plus-aosp * commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625': fix inaccurate copyrights
| * | fix inaccurate copyrightsJean-Baptiste Queru2010-07-291-1/+0
| |/ | | | | | | Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
* | Change camera interface to support multiple cameras.Chih-Chung Chang2010-06-112-0/+29
| | | | | | | | Change-Id: Ie88fe706d2278acf762eca87780de349434778a4
* | 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
* | Fix deadlock if the last reference of ICameraClient is removed inChih-Chung Chang2010-05-141-1/+6
| | | | | | | | | | | | ICamera::connect() Change-Id: I34ab3e4f07435c62168175e9bb159022c8fb99f4
* | 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
* | Support multiple cameras in framework.Chih-Chung Chang2010-05-102-4/+26
|/ | | | Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
* Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.Wu-cheng Li2010-04-101-0/+2
| | | | | bug:2544367 Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
* Add some comments for zoom methods.Wu-cheng Li2010-03-291-1/+1
| | | | | | | Also change RuntimeException to IllegalArgumentException. bug:2458926 Change-Id: I87af31f5f3f10244131a1117bd1725c2d292b587
* Call unlinkToDeath() when we disconnect the Camera,Chih-Chung Chang2010-03-241-0/+1
| | | | | | | so we don't hold the (weak) reference to it, which caused (small) memory leaks. Change-Id: If7d58a354fd38c8bc380946bf227b52988ac5118
* Add camera parameter string constant for "true".Wu-cheng Li2010-03-081-0/+2
| | | | | bug:2458926 Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
* Add location provider name to gps-processing-method in EXIF header.Ray Chen2010-03-051-0/+1
|
* Unhide zoom API.Wu-cheng Li2010-03-011-0/+5
| | | | bug:2458926
* Unhide exposure compensation API.Wu-cheng Li2010-02-261-1/+3
| | | | bug:2375993
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-116-0/+1322