summaryrefslogtreecommitdiffstats
path: root/include/hardware/camera3.h
Commit message (Collapse)AuthorAgeFilesLines
* Camera3: Document behavior of flush() corner cases.Eino-Ville Talvala2015-06-101-0/+14
| | | | | | | | Document how HAL should operate when process_capture_request is called while a flush() call is active. Bug: 21506384 Change-Id: Ic1842add68123432e49914e83d8f7d5c13d6650d
* Merge "Camera3: SHUTTER event for reprocessing" into mnc-devChien-Yu Chen2015-06-011-9/+17
|\
| * Camera3: SHUTTER event for reprocessingChien-Yu Chen2015-06-011-9/+17
| | | | | | | | | | | | | | | | | | Clarify that the SHUTTER event should be sent when HAL start processing a reprocess request but the timestamp should be the input image's start of exposure. Bug: 21112186 Change-Id: I5bd32b749adc5e82e9a311ec4b123fd807a30d36
* | camera3: add camera3 stream configuration modeZhijun He2015-05-281-0/+97
|/ | | | | | | This will be used for creating high speed capture session. Bug: 21442271 Change-Id: I51feaec83de3d402decca7e4da79be85844536b4
* Camera: Fix tests per camera service interface changeYin-Chia Yeh2015-03-161-1/+3
| | | | | | | Also clarify rotation field has no meaning and will always be 0 for a input stream. Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
* Camera3: Add rotation field to camera3_stream_tYin-Chia Yeh2015-03-121-2/+50
| | | | | | | | | | This allows application or framework request HAL to perform a rotation of 0, 90, 180 or 270 degrees counterclockwise. Currently there is no plan to support arbitrary rotation angles. HAL should return -EINVAL if the requested rotation cannot be supported. Change-Id: I8bde2bcfd797c408db4d5b391b170a4e856ec2d0
* Camera3: Add dataspace to camera HAL device stream configurationEino-Ville Talvala2015-03-091-0/+34
| | | | | | | | | | The dataspace field communicates extra context about the requested stream configuration. For most graphics formats, the dataspace indicates the desired colorspace out of the output buffers. For some formats, the dataspace may indicate that depth output is requested instead. Change-Id: I6746d9097b4dc36af0a63ca88df75f32a77db90b
* camera3: update reprocessing specZhijun He2015-01-291-2/+158
| | | | | | Also bump the HAL version to 3.3 for reprocessing spec update Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
* camera3: update ZSL specZhijun He2015-01-291-31/+2
| | | | | | | | INPUT stream is not used by framework-implemented ZSL (HAL3.2), the sample use case description is incorrect. Bug: 19197776 Change-Id: I247ad8755b2197c2a62cc109c151749b42a4bd49
* Camera HALs: Promote device HAL v3.2Eino-Ville Talvala2014-09-101-2/+3
| | | | | | | And deprecate older HALs. Bug: 17445920 Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
* camera3: fix some spec issue related with input/bidrectional streamZhijun He2014-07-081-6/+9
| | | | | Bug: 13934977 Change-Id: Ibccb80e69ac9da153de6378f1e3b0f00527ce4c9
* camera3: Update FULL/LIMITED operational modesZhijun He2014-05-281-51/+41
| | | | Change-Id: I2a76361868a2ab3cc1dafb08905d5f5d53052a6d
* camera3: Update the HAL spec for raw cropping behaviorZhijun He2014-05-221-1/+6
| | | | | | Bug: 15168075 Change-Id: I035fc833cb122a7caa4cf47a1d5be574d4727345
* camera3: Update camera3_jpeg_blob_t for max jpeg size changeZhijun He2014-04-281-11/+12
| | | | | | | We no longer have a single max jpeg size for all resolution jpeg streams. Bug: 14288983 Change-Id: I2c96d7c473901d7f419d0da9c2947fec095834a9
* hal3: Update documentation regarding hardware block operating modes.Ruben Brunk2014-03-271-0/+27
| | | | Change-Id: I27987a75cb80c67f7e9ae71c116a26963b25eccb
* Merge "camera3: Docs updates to line up with metadata changes"Eino-Ville Talvala2014-02-111-21/+21
|\
| * camera3: Docs updates to line up with metadata changesEino-Ville Talvala2014-02-101-21/+21
| | | | | | | | Change-Id: I3065c9f1d905a4e7d0bb6eef2b4556c81a0788fe
* | camera3: fix typo in camera open KPIZhijun He2014-02-101-1/+2
|/ | | | Change-Id: Ieefdc5a0f5159a3053e141075e71d268499746ed
* camera3: Add input buffer field in capture resultZhijun He2014-02-071-8/+58
| | | | | | | For HAL3.2 or above, the HAL must return the input buffer in capture result rather than capture request. Change-Id: I0108cda1cdf51556d7273b2c3cfbaf0e6ecd1d76
* camera3: update BIDIRECTIONAL and INPUT stream specsZhijun He2014-02-041-22/+90
| | | | | | Also add the manual template to the version history. Change-Id: I0a516ccbbd3600d69217502e19b267e2d3aa60e8
* Merge "camera3: Update flush HAL API spec"Zhijun He2014-02-041-5/+55
|\
| * camera3: Update flush HAL API specZhijun He2014-02-031-5/+55
| | | | | | | | Change-Id: I4e36dcc4445c2fae71fe4ce22a0f3b9a28abe1c0
* | camera3: Add camera close KPIZhijun He2014-02-031-1/+3
|/ | | | Change-Id: I265750ade49c63beedd3d9d0f2b8e7b3d19cc38f
* camera3: Add partial result processing in HAL3.2Igor Murashkin2014-01-171-2/+105
| | | | Change-Id: I665cf1191a1c7510671b3c171b47c167530c1067
* camera3: deprecate register_stream_buffers in hal 3.2Igor Murashkin2014-01-171-17/+212
| | | | Change-Id: I7efabcba9b47846e831ffdf75ba1ea3c7e5ff629
* camera3: wording fix for KPIZhijun He2014-01-171-3/+3
| | | | Change-Id: I4172fcdda3452eced663e332d509dea2594c1710
* Camera3: Add performance KPI requirementZhijun He2014-01-171-3/+77
| | | | Change-Id: I2133736b9e00b170200308982e591f311e1f04f7
* camera3: Update vendor tag spec for HAL 3.2.Ruben Brunk2014-01-161-5/+20
| | | | | | | | | - Deprecates vendor tag specification in camera3 device. - Moves vendor tag ops declaration to camera metadata library and cleans up definitions. - Updates the example HAL. Change-Id: Ifb16bb0d4bbc896bc32d33dd150e7e174af57dad
* camera3: Add manual control templateZhijun He2013-12-131-0/+10
| | | | | Bug: 12134077 Change-Id: I0681f881f41dd3ab8acab400f84c2568a97e06bc
* Camera3: Add PASSIVE_UNFOCUSED AF state and clean up INACTIVEEino-Ville Talvala2013-09-201-8/+32
| | | | | | | | | | | | | | Needed to support the real case of continuous focus giving up on a scene for a while (say, a blank wall), during which we shouldn't claim the lens is in motion. Also add new states for INACTIVE to clarify it as the starting state after mode transitions or enabling AF/AE/AWB. Bug: 10860639 Bug: 10446772 Change-Id: Ie4c1ac73e5a9eb6d1894d83dbded49a2767a8ffd
* Camera: Add new 3.1 device versionEino-Ville Talvala2013-07-301-3/+3
| | | | | | | - Add new definition to camera_common - Update comment in camera3.h Change-Id: I9d8c594cfdaff40c543e8f9017091b0c06bbf022
* camera3: Add flushAlex Ray2013-06-241-0/+45
| | | | | | | | | Flush is used to quiesce a camera device as quickly as possible, which can be used to deal with a pathological client (requests a frame duration of hours then dying) as well as speed up stream configuration changes when the outstanding requests data isn't required. Change-Id: Ie822efae8c705bd64d63c0eab7e9c291ecb570ef
* camera3: Pass consumer information in configure_streamsAlex Ray2013-06-201-0/+26
| | | | | | | | | HALs seem to need to know the gralloc usage flags of the opposite endpoint (producer/consumer) of a stream at configure time. Instead of adding another call to pass stream information, we just pass the usage flags in the existing usage field. Change-Id: I745baf2c4dd9123273d811b9bd52ae68c854b70c
* Camera3: Document missing AF transitions.Eino-Ville Talvala2013-05-211-0/+6
| | | | | | Bug: 9075581 Change-Id: I7688cee904987f404b4ab7ff0e5212182f85a271
* Camera3: Document cropping behaviorEino-Ville Talvala2013-05-011-2/+158
| | | | | | | Redefined somewhat from HAL2, to be simpler for everyone. Bug: 8756080 Change-Id: I6b7608c74c06cc6a0bfe07997444e3b07c3edb10
* Camera3: Clarify SHUTTER timing, ownership of request contentsEino-Ville Talvala2013-04-221-2/+14
| | | | | | | | | | - Clarify ownership of fence file descriptors, including in case of errors. - Make it clear notify SHUTTER must be called before the first process_capture_result. Change-Id: I644054a7a055c2e8a6a164c5ab6439ef2a0d1df1
* Camera3: Allow many calls to process_capture_result per requestEino-Ville Talvala2013-04-081-22/+59
| | | | | | | | Allow the HAL to split the capture result across multiple calls to process_capture_result, so that when the sync framework cannot be used, some output buffers can still be returned later than others. Change-Id: Iea7f77a3d28daac3a94045ab4566f677aa53a7f9
* Camera3: Documentation additionsEino-Ville Talvala2013-03-291-9/+462
| | | | | | | | | - Detailed documentation of the 3A state machines (autofocus, autoexposure, auto-whitebalance) - Add error return value for out-of-sequence device calls - Spelling fixes Change-Id: Icc4e1980b1ff058425a42bc665d345070944b173
* Camera: Minor fixes to camera3 HAL interfaceEino-Ville Talvala2013-03-111-14/+64
| | | | | | | | | - Add explicit status to buffer, to allow simple reporting of buffer filling failures. - Clarify error management wording - Clarify close() preconditions Change-Id: I1660103aa1822d194ec0afab44e09554c1ac0782
* Camera: Fix incorrect pointer typesEino-Ville Talvala2013-03-061-4/+4
| | | | | | | | | | - Array of streams given to configure_streams() must be an array of pointers to streams, to allow framework to fulfill stream structure lifetime guarantees. - buffer_handle_t needs extra level of indirection to match HAL1 & 2. Change-Id: Iee071da39218a748933c3dfa7bccb66fe92c05f1
* camera3: remove redundant hardware error conditionAlex Ray2013-02-151-15/+7
| | | | Change-Id: I8cc538f82cf42972cc4d7cb155539222c41b4e0a
* Camera: Minor cleanup to HAL 3.0 headerEino-Ville Talvala2013-02-151-1/+8
| | | | Change-Id: I64c61687cbf5850341d9e528c47b7b4dca773546
* Camera device HAL 3.0Eino-Ville Talvala2013-02-151-0/+1344
- High-level behavior is identical to device HAL 2.0 - Interface is cleaned up and simplified greatly Change-Id: Ia867bbf9484be2256470f4acfab7fc3d47e408f4