summaryrefslogtreecommitdiff
path: root/camera/camera2/OutputConfiguration.cpp
AgeCommit message (Collapse)Author
2018-12-20Camera: Enable logical multi-camera API in NDKShuzhen Wang
The support inclues: - Physical camera specific stream support, - Physical camera result metadata, and Test: Newly added NDK CTS test pass Test: Newly added VNDK test pass Bug: 120566141 Bug: 115532726 Change-Id: I939b81522ca6c518c0e54ded5d3615f9973a6a65
2018-11-12cameraserver: Implement HIDL ICameraService skeleton.Jayant Chowdhary
Implement basic ICameraService HIDL functions, along with HIDL<=> AIDL type conversions. Bug: 110364143 Test: (build) mm -j64 Test: lshal->android.frameworks.cameraservice.service@2.0 shows up Test: Sanity-> click pictures using GCA. Change-Id: I44c2a96b1ccc05941d075e2bdeb94a8378d53c67 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-01-20Camera: Add physicalCameraId to OutputConfigurationShuzhen Wang
Add physical camera ID in OutputConfiguration so that the application can optionally set physical camera id for an output stream. Test: Camera CTS Bug: 64691172 Change-Id: I5909cd71618cc07ef403c420913eb1c02f1e10f0
2017-11-08Add support for dynamic shared output surfacesEmilian Peev
The Camera API needs to support the dynamic attach/detach of extra output surfaces to a given camera stream. Bug: 63912484 Change-Id: I18809aea31f78fb9e125bd18b58951ade4fad3c5
2017-02-09fallout of view::Surface / Surface splitMathias Agopian
Test: built and booted device Bug: treble Change-Id: I022ebb581563463e93935da61a113087043dfeca
2017-01-24Camera: Combine handling of deferred surface and shared surfaceShuzhen Wang
- Refactor the OutputConfiguration to contain isDeferred and isShared flag, and not contain NULL surface. - Unify the handling of deferred surface and shared surface. Test: Camera CTS, and manual testing of GoogleCamera use cases Bug: 33777818 Change-Id: I5dd3472f0f2133699b0e9fbdd8ba456956222746
2017-01-18Merge "camera2: Add support for secondary surface for stream"TreeHugger Robot
2017-01-12Clean up Fence a little.Brian Anderson
Test: No functional change. Change-Id: Ie0836b4bd589cbadf219d893b44f82f70a051174
2017-01-10camera2: Add support for secondary surface for streamShuzhen Wang
- Enhance OutputConfiguration to contain multiple surfaces for one underlying stream. - Create Camera3SharedOutputStream to handle streams with multiple surfaces. - Create Camera3StreamSplitter to handle buffer flows between camera and multiple consumers. Test: cts, and manually test camera preview/snapshot/recording Bug: 33777818 Change-Id: Ia010c3cc9d9b4bd5b9ea03cc42fe4e0a0d8033f1
2016-12-13Camera service: Updates in preparation for HIDLEino-Ville Talvala
- For all camera2 paths, and anything shared between the legacy API and camera2, switch to using strings for camera IDs - Update ICameraService.addListener to return current set of known devices and their status, to allow for immediate return of camera devices when first connecting to camera service - Remove unused code path for getCameraCharacteristics with HALv1 - Add namespace qualifiers to Binder objects that are also used by hardware binder. - Switch to using new HIDL DeviceStatus and TorchStatus enumerations for better type safety in the service; map more clearly between the HAL, service-internal, and Binder enums. Test: cts-tradefed run cts -m Camera --skip-connectivity-check -d -o --abi armeabi-v7a --disable-reboot Bug: 32991422 Change-Id: I765951d9a21000a8432bed9aa0e3604709daa4b1
2016-06-02Camera3: add deferred surface supportZhijun He
Initial native implementation and aidl changes for surfaceless support. Bug: 28323863 Change-Id: Id6634c3ef2ecc84422a88f63de0a19a0cb496e96
2016-03-02Camera: Clean up warnings and set -WerrorEino-Ville Talvala
- Also fix error logging template inconsistency - Also add a few error handling cases into camera2 NDK to deal with previously-ignored error codes Bug: 27149500 Change-Id: I8f1f4c72252dd48d652f24b595b642199f20c327
2016-03-02Camera: Switch camera2 to auto-gen C++ binder interfacesEino-Ville Talvala
- Move camera service AIDL files to frameworks/av - Build C++ interface stubs with AIDL tools - Add necessary native-side parcelables and update existing ones - Remove manually-written stubs, rearrange remaining manual stubs - Adjust implementations to work with auto-generated stubs - Adjust method signatures for auto-gen differences - Add rich error messages using binder::Status Bug: 25091611 Change-Id: I6f69f34b9d1a3f8d1fb7db87357363f8fa8483ff
2016-01-23camera: Add surface set ID to OutputConfigurationZhijun He
Bug: 25088440 Change-Id: I95153522b8b1f3ec4c98800b94a95fe7782c9205
2015-07-06camera2: Fix native binder interface and add tests.Ruben Brunk
- Add CameraBinderTests for limited coverage of native camera2 binder interfaces for the camera service. - Fix several bugs in the native binder interfaces. Bug: 18468810 Change-Id: Iab2d81a5cacd20daf7454aeeed033cc13d88452c
2015-03-18Camera: plumbing rotation field throughYin-Chia Yeh
Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333