summaryrefslogtreecommitdiffstats
path: root/camera/ProCamera.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated BufferQueue constructorDan Stoza2014-03-121-3/+6
| | | | | Bug: 13415624 Change-Id: Ifc8f778b70102a38a9f7a086632e6884714e6b58
* Camera API 2, Device 2/3: Implement idle and shutter callbacksEino-Ville Talvala2013-10-021-3/+3
| | | | | | | | | | | | | | | | | | - Update callback Binder interface - Rename frameId to be requestId to be consistent and disambiguate from frameNumber. - Implement shutter callback from HAL2/3 notify() - Add in-flight tracking to HAL2 - Add requestId to in-flight tracking - Report requestId from shutter callback - Implement idle callback from HAL3 process_capture_result - Add new idle tracker thread - Update all idle waiting to use the tracker - Add reporting from request thread, all streams to tracker - Remove existing idle waiting infrastructure Bug: 10549462 Change-Id: I867bfc248e3848c50e71527e3561fe92dc037958
* Refactor CameraService to handle errors properly.Ruben Brunk2013-08-161-1/+3
| | | | | | | | Bug: 10361136 -Connect calls now return status_t error flags. Change-Id: Idca453b111e5df31327f6c99ebe853bb2e332b95
* separte producer and consumer interfacesMathias Agopian2013-08-061-2/+1
| | | | | Bug: 9265647 Change-Id: Iefabc11e4bd2e2e8ffd31160476c450affe6629c
* update to new Consumer APIsMathias Agopian2013-07-161-1/+1
| | | | Change-Id: I3c5d4be2a2e8783fbf98b3e268fd02658f71dc7d
* always pass the BufferQueue explicitely to consumersMathias Agopian2013-07-121-1/+2
| | | | Change-Id: Ic2d9a9cf184a482b3c78a481ed693ee32df5ca13
* ProCamera: Fix memory leak in consumeFrameMetadataIgor Murashkin2013-03-271-4/+2
| | | | | Bug: 8402301 Change-Id: I975990185f45bb8552712271b9ac457af08a170c
* (Camera)ProCamera: Remove unused functions from binder interfaceIgor Murashkin2013-03-111-20/+2
| | | | Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
* ProCamera: Add CpuConsumer asynchronous mode supportIgor Murashkin2013-02-281-1/+20
| | | | | | Bug: 8290146 Bug: 8291751 Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
* camera_client: refactor Camera/ProCamera commonalities into BasicCameraIgor Murashkin2013-02-261-129/+24
| | | | Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
* ProCamera: Fix waitForFrameBuffer not handling multiple outstanding framesIgor Murashkin2013-02-221-8/+33
| | | | | | | | | | | If the CpuConsumer triggered multiple onFrameAvailable callbacks in between a single waitForFrameBuffer call, the old code would only handle 1 callback. This meant on two subsequent waitForFrameBuffer calls the second would always timeout when two buffers were already available to be unlocked. Bug: 8238112 Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497
* ProCamera: add waitForFrameBuffer/waitForFrameResult blocking callsIgor Murashkin2013-02-221-13/+97
| | | | Change-Id: I851d41aeecaa15245d5b9d622132e8706d6e292c
* ProCamera: Add getInfo for getting static metadata (and a test)Igor Murashkin2013-02-221-5/+18
| | | | Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
* Camera: ProCamera - implement onResultReceived callback for metadata callbacksIgor Murashkin2013-02-221-0/+18
| | | | Change-Id: I46775402b007244bc383d6343a620eebbd492aad
* Camera: ProCamera - add createStreamCpu and unit testIgor Murashkin2013-02-221-23/+88
| | | | Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
* Camera: Change ProCamera to take IGraphicBufferProducerIgor Murashkin2013-02-221-4/+5
| | | | Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
* Camera: ProCamera2Client - add createStream (service is stubbed) and unit testIgor Murashkin2013-02-221-13/+12
| | | | Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
* Camera: ProCamera - add createStream stub and unit test for itIgor Murashkin2013-02-221-0/+68
| | | | Change-Id: Ic05130e63f4f2c0c3278ba348b192992169f105f
* Camera: ProClient add asynchronous locks and suchIgor Murashkin2013-02-221-0/+34
| | | | Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
* Camera: Add ProCamera private binder interface for an API2-light functionalityIgor Murashkin2013-02-221-0/+230
Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274