e0a6667ee3848bfc2f0f78bf764719762b3c6835 |
|
21-Mar-2017 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera: Send onPrepared callback to all shared surfaces Test: Run testPrepareForSharedSurfaces Bug: 34522408 Change-Id: I368021598a6212209c7edf00282d2a6f84629b4d
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
7d0674ceb16cc4771b1a57bcaf90ac1a22444226 |
|
10-Feb-2017 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera: Update doc to allow unchanged configs in finalizeOutputConfigs Bug: 35137641 Test: Compile Change-Id: I671fc13c005eee27c87041dce23c30f40a394443
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
4bd7abe72a647ceb2175a4fe66aa640815c116f8 |
|
11-Jan-2017 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera2: Combine API for deferred surface and shared surface - Unhide API to enable sharing surfaces via OutputConfiguration. - Combine the APIs for deferred surface and shared surfaces so that same functions can be used for both use cases. 1. setDeferredSurface becomes addSurface. 2. finishDeferredConfiguration becomes finalizeOutputConfiguration. - Better documentation on shared surface use cases. Test: Camera CTS, and preview/video/capture with GCA Bug: 33777818 Change-Id: I528b221492e07888a2da96658aaf8e7b9c4d1640
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
88f1af241045d446358c692e183e5ecb152bad91 |
|
30-Sep-2016 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera2: Add onCaptureQueueEmpty callback onCaptureQueueEmpty indicates that the non-repeating capture request queue of camera device is empty, and is ready to process a new request. Test: testMultipleCapture in PerformanceTest.java Bug: 29006447 Change-Id: If245ff6abf352548ca13a10fcfbd1550b92c1224
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
1a645803083b353bd41d51595dee1fa0a80eeab3 |
|
07-Sep-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Unhide deferred surface configuration APIs To speed up camera startup, allow setting up a camera capture session before all the output Surfaces are available (but their eventual sizes and types are known). Also allow images to be captured to the non-deferred outputs even before the deferred outputs are available. This allows parallelizing of camera startup and UI layout. Test: android.hardware.camera2.cts.SurfaceViewPreviewTest#testDeferrredSurfaces passes Bug: 31319716 Change-Id: I657efc39bb8cc2d4bf201e5d70807a227ef82dde
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
3c8c16f9f17f479cc32ded3b717814a12fc198b5 |
|
07-Sep-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Clean up some obsolete trampolines left from original API launch Test: Checkbuild passes on angler-userdebug Change-Id: Iddcb72616be2eb07a4499647b3383ff9d37f73d2
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
c8b181e95d17c00f9fe4a8338c4cdd0eeac3a0dc |
|
30-May-2016 |
Zhijun He <zhijunhe@google.com> |
Camera2: add deferred output config support Allow surfaces to be deferred during session creation. Once the surfaces are ready, the application can finish the deferred output configuration to be able to submit requests with these surface targets. Bug: 28323863 Change-Id: Id6634c3ef2ecc84422a88f63de0a19a0cb496e96
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
3e0023ae89895f215791a8472f22b213f5a9ae93 |
|
07-Mar-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add buffer drop error callback Previously single buffer drop errors were not propagated to the client application, even though the HAL generated them. Add new error callback to handle this case. Bug: 24168122 Change-Id: Ice0d9a3592efed222351353abd7acc35854a20bd
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
0fc589cb2952b99890d0762670b42e9e97e9df06 |
|
10-Feb-2016 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera2: Clarify ordering between onCaptureStart and onCaptureProgressed It's not a guarantee that onCaptureProgressed happens after onCaptureStart for a particular request. Bug: 26676240 Change-Id: I900c3b36e1738dd3514954498023eaa4a1618989
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
7ed1aaa369b6a459c776a9a6e96c33014b30f278 |
|
14-Aug-2015 |
Ruben Brunk <rubenbrunk@google.com> |
Add experimental camera session prepare API. Bug: 18949148 Change-Id: I35fde35436ae5bebab3c912243e621285307c211
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
14c09fa3c5371b977c77e5813eabb81941040627 |
|
16-Jul-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add hidden experimental tearDown method Bug: 18949148 Change-Id: I6264d95a26ebf51cce6114c9a86b9561f7c60ab5
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
639fffee624302ec5b175503d7bd8a441340a629 |
|
30-Jun-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Reorganize high-speed recording API slightly - Split off distinct high speed capture session class from base capture session - Move createHighSpeedRequestList to CameraConstrainedHighSpeedCaptureSession Bug: 21664295 Change-Id: I67d705fdeee1eaa6e5e3e1416771d5d0df642843
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
e0ee63046ad062040aafc977585fb461a2acf666 |
|
07-Jul-2015 |
Chien-Yu Chen <cychen@google.com> |
ImageWriter: Exception when Surface is abandoned Throw IllegalStateException when queueing or dequeueing an image if the input surface is already abandoned by the consumer. Also fix a crash when planes are not initialized when closing ImageWriter. Bug: 22279111 Change-Id: I8301920d64a53c45b29e947e52ff323733abbf16
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
a3a0ea3b1b75024af23eac8ec767d2299373664a |
|
10-Jun-2015 |
Chien-Yu Chen <cychen@google.com> |
Merge "Camera2: Clarify capture order for reprocess" into mnc-dev
|
bf2d55b2b59784b7530cd53aaf7130aec7dc6945 |
|
09-Jun-2015 |
Chien-Yu Chen <cychen@google.com> |
Camera2: Clarify capture order for reprocess Clarify the order of regular and reprocess requests in capture() and captureBurst(). Bug: 21558022 Change-Id: I6bc3eda9614e43a954540ad271b4145a4dbcc8f2
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
b1300e39c7974937d563b3ec62f5246248a157b3 |
|
28-May-2015 |
Zhijun He <zhijunhe@google.com> |
Camera2: add high speed video APIs Interface only. Bug: 21442271 Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
6216e4e06f00b5b1c1faf739be1fdbe13ad18ca9 |
|
29-May-2015 |
Chien-Yu Chen <cychen@google.com> |
Camera2: update docs for reprocess timestamp Bug: 21112186 Change-Id: Ie49c00c96f7e69b672df5afa34e06e3dcd49490f
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
8b905578b54041f7d0b8dc04dd158d16d28262a1 |
|
15-May-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add SDK annotations - Annotate everything with @NonNull, @Nullable - Annotate a few @IntRange - Annotate a few @IntDef - Most metadata enums probably canont be annotated usefully, since get/set() are generic and the annotation system can't yet manage that. - Plus metadata annotations need to be auto-generated anyway - Also add explicit null check to prepare's surface argument - Also update docs of getCameraCharacteristics to match reality Bug: 21029463 Change-Id: Ifd81b2a782e29ad069fe25c7db4a1fda73dabcd7
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
8062d31d27943da4d652878b4c36aeabb8bb8b08 |
|
12-May-2015 |
Chien-Yu Chen <cychen@google.com> |
Camera2: Fix reprocessing API naming and docs Rename reprocessible to reprocessable and OPAQUE reprocessing to PRIVATE reprocessing. Also fix a few broken links in reprocessing APIs. Bug: 21044522 Change-Id: I155b62d8743b036bd4b46f0da87749ce4e20b467
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
f723db7f9db2f96aaf02cae39b524b16e823fe85 |
|
30-Apr-2015 |
Chien-Yu Chen <cychen@google.com> |
Camera2: stream configs for reprocessible session Add the guaranteed stream configurations for creating reprocessible capture sessions to the docs. Bug: 20263562 Change-Id: Id46d6ec8ebe7a5fe7edcb7c15325c6b53f1bc589
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
0dfb7ba4a81e3af2e93732942d314a55c02f6ac1 |
|
07-May-2015 |
Chien-Yu Chen <cychen@google.com> |
Merge "camera2: allow mixing regular/reprocess requests" into mnc-dev
|
4560df76ebe9414da187e133786ffca9840e6e85 |
|
28-Apr-2015 |
Chien-Yu Chen <cychen@google.com> |
camera2: allow mixing regular/reprocess requests Allow mixing regular and reprocess requests in burst requests. Create RequestLastFrameNumbersHolder to store the last regular frame number and the last reprocess frame number in a capture request list which can be used to determine if the capture sequence is completed. Bug: 20537735 Change-Id: I0880f8c845380e1c7ffe504225a556829dfeccf6
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
be6d98526988f914365a2999b8d3ca11e24e5aeb |
|
29-Apr-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: LEGACY: Support prepare(), sort of. It doesn't actually do any work, but pretends to. Bug: 20537146 Change-Id: I48c08936b96ba1a0623cff19eb5c521d1dd50129
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
7a316f6b1b040f0113161db87a36397aebfb80b8 |
|
13-Apr-2015 |
Chien-Yu Chen <cychen@google.com> |
camera2: validate reprocess request's session Add a session ID to CaptureResult to indicate the session where the result comes from. When creating a reprocess capture request with a capture result, the session ID will be carried over to the reprocess capture request. Reprocess capture request's session ID will be used to validate that it matches the session ID when submitting the reprocess capture request to a session. Bug: 20263212 Change-Id: I024c1a28ecf0a43909a0ed3814a11360c318417f
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
ad916f7fd3fbb202f2993fea04b0bdad3dcd6de6 |
|
11-Apr-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add prepare method for output buffer pre-allocation Normally, buffers for camera output Surfaces are allocated as needed. This minimizes memory overhead and time to first frame. However, if allocation takes a long time, as it can do for full-resolution output buffers, full frame rate may not be maintainable with the added allocation overhead. The prepare() method allows an application to indicate that buffers for a given output Surface should be preallocated by the camera device. Once the allocation is complete, the onSurfacePrepared callback is invoked. The application may then use the prepared Surface without concerns about allocation-caused delays. Change-Id: I4f616dc87dd4346f408cf1ea37d48a642ceb57da
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
5398a676809faaf3c6c2875edc1907ad6b8e1c89 |
|
19-Mar-2015 |
Chien-Yu Chen <cychen@google.com> |
camera2: add reprocess support Add reprocess API and implementation to support creating reprocess capture sessions, reprocess requests, and receiving reprocess capture results. Change-Id: I4c1c02f41d1712f65e729ea3ba09592a27ffe86d
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
e8df3093f53fa992f89e019b2fc87ff4fac0f335 |
|
08-Sep-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add frameNumber to CaptureCallback#onCaptureStarted Otherwise, cannot reliably match up capture progressed and failure callbacks with the start callback. Bug: 17421092 Change-Id: I91d92be70a15536b215bac330370ce37e426ec26
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
fd887436bd111e4d2c7307578a51b5070025b7f2 |
|
04-Sep-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Final API revisions - Rename listeners to callbacks. Listeners are single-method and are interfaces, while callbacks are abstract may get more methods in the future. - Use register/unregister for registering callbacks, not add/remove. Bug: 17389922 Change-Id: Ic6b46ad79cb43a43a85e2a4b63f059d3af99798b
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
edeab40338a047655f6af60e9e950dbad262279b |
|
10-Jul-2014 |
Sol Boucher <solb@google.com> |
camera2: Document CameraCaptureSession behavior given 0 Surfaces Clarify that this will cause an IllegalArgumentException to be thrown Change-Id: Ifabfed6d8d46492c4ca45bbbed599ded5260b099
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
0a160acf297b583e12a9710c929c4ba9a38f7353 |
|
02-Jul-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Hide all the deprecated methods and interfaces Leave them in for now until bundled clients complete updating Change-Id: Ibd0fc971258ce6b649000c48dd7a6716f1ab91d4
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
b67a3b36fd569e63c1b8ca6b2701c34c7a3927c1 |
|
06-Jun-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Many docs updates - Improve CameraManager.AvailabilityListener docs - Fix references to createCaptureSession immediately returning a session - Remove most docs from deprecated methods, to minimize confusion. - Remove references to deprecated methods from non-deprecated methods. - Improve acronym use in metadata keys, and other minor metadata doc fixes. - Improve package-level docs. Bug: 15394187 Bug: 15394241 Bug: 15394242 Bug: 15394526 Change-Id: I48de626a33ef9b834578f7bb890de9b98d3122d2
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
21547d66a9ce591ff30a3ad4102f7f30a4764d80 |
|
05-Jun-2014 |
Igor Murashkin <iam@google.com> |
camera2: Change CaptureListener callbacks to include the session (api) * Also makes CameraDevice an abstract class (API) Bug: 15428219 Bug: 14964443 Change-Id: I0e8c8309186aad59570aac7e0f998bb615405f0a
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
0b27d3453d5e257594792e9177c5fedb1bc6f9e9 |
|
30-May-2014 |
Igor Murashkin <iam@google.com> |
camera2: Implement most of CameraCaptureSession Bug: 14964443 Change-Id: I8203842c77a94a3a6e5f89494fce658b00a4160d
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
db075afc85b6b50a5d3a988a17ed0d4e09ef0823 |
|
21-May-2014 |
Igor Murashkin <iam@google.com> |
camera2: Add partial results to the capture listener (API change) * Also adds capture sequence aborted callback Bug: 12492876 Change-Id: I56ec8edbcda8b64c2262ff7472961ac78042c7f4
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|
cca00c614c24a71dc234c79ad6241efa9f6c7676 |
|
14-May-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: New capture session interface - Add CameraCaptureSession for all operations that require a valid camera configuration - Deprecate methods in CameraDevice that are moving to CameraCaptureSession - Document new semantics Bug: 14964443 Change-Id: I53b2b71ed2b746cfcf76a01483f499765eb5047b
/frameworks/base/core/java/android/hardware/camera2/CameraCaptureSession.java
|