summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/camera2/StreamingProcessor.h
Commit message (Collapse)AuthorAgeFilesLines
* Camera2/3: As a fallback, unilaterally free old recording buffersEino-Ville Talvala2013-07-081-0/+9
| | | | | | | | | | | When starting a recording session, check for and clear out recording buffers still owned by stagefright from a previous recording session, if any. There should never be any, but in case they are due to a bug elsewhere in the system, clearing out the buffers makes recovery possible. Bug: 9591080 Change-Id: I3a2a1256860bd174381cd525948419f985c9b415
* Camera2/3: Move recording frame processing to its own thread.Eino-Ville Talvala2013-06-041-1/+10
| | | | | | | | | Due to new deadlock opportunities from HAL3 integration, recording frame processing needs to move out of the new frame handler into its own thread in StreamingProcessor. Bug: 9282913 Change-Id: I8d2926f2de9d0d395eef3c328c65caebbdbd2827
* Camera: Pause preview when needing to delete jpeg/zsl streamsIgor Murashkin2013-05-131-0/+4
| | | | | Bug: 8876221 Change-Id: Idf9490a48462fa44d49c4ebe99425c3149ae6378
* Camera2: Fix deadlock on shutdown due to client getting killed.Eino-Ville Talvala2013-04-261-1/+4
| | | | | | | | | | | | | | When the binder connection dies and is the only holder of a strong pointer to the Camera2Client, disconnect is called from the destructor. At this point, all weak pointers to Camera2Client are no longer promotable, and lots of cleanup code paths are broken as a result. Rework all such code paths to not need the client pointer, and to discard image buffers that arrive during shutdown. Bug: 8696047 Change-Id: Ic0672ecde7c1baaf65079f925a45bd5be45f1fb3
* Camera: Move CameraMetadata.h from service to client libraryIgor Murashkin2013-02-221-1/+1
| | | | Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f
* Camera2: Synchronize mode changes and triggersEino-Ville Talvala2012-10-041-0/+10
| | | | | | | | | Make sure that changes to various parameters have reached the HAL before triggering asynchronous events like autofocus or precapture metering. Bug: 7107220 Change-Id: I3c50038de1671968eb32004ce538435121934e7e
* Camera2: Refactor preview/recording management to separate class.Eino-Ville Talvala2012-09-281-0/+108
Untangle preview/recording management from main class to simplify callpaths; in preparation for fixing several HAL/app interactions bugs. Bug: 7172543 Bug: 7159577 Bug: 7107220 Change-Id: Iab5503f66b35d88a1524111536a484c9e33fd934