| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
requests." into jb-mr1-dev
* commit 'e68eb9b82d0371324add708e2b2eb45a99ddbd70':
Camera2: Include JPEG settings in ZSL requests.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7287743
Change-Id: I1aba81b228451c3df712ce1f42b7aab79cac575f
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
record" into jb-mr1-dev
* commit 'd6e8c5b187225c55a279bc40f262fe137f2ef508':
Camera2: Fix deadlock while zooming during record
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Acquired SharedParameters before mMutex in StreamingProcessor,
this avoids any potential deadlocks since Camera2Client code would
always acquire SharedParameters first before invoking StreamingProcessor.
Bug: 7275259
Change-Id: Ia741162c455300378bee049f063590ece5328b95
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
is set." into jb-mr1-dev
* commit 'a9438d09fb44f6c95a558accd05711600cc4b2bf':
Camera2: Properly update FPS range when FPS is set.
|
| | |\ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise a getParameters followed by setParameters will trigger an
incorrect reversion in FPS parameters.
Bug: 7279267
Change-Id: I7426860f05497dbdf4245c34cef1b38f2f5a1832
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* commit 'b08633fc95947173ba3f68627728a8c5f12ef72f':
Camera2: Fix prematurely clearing stream request
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Zsl handling was clearing the stream request before a capture request
was ready to be sent to the HAL, which would cause capture delays and
timeouts in certain conditions.
Bug: 7259520
Change-Id: Idde8bc4fc58b8b426c6985feac87759740e338ea
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '7fd4e2a8f4d57d20e679e5321f34cc09245d82a1':
Camera2: Fix trying to release HAL stream twice
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When we fail to disconnect the native window, StreamAdapter::release
would fail and remain in the old (ALLOCATED) state, thus it thinks that
we haven't released the HAL stream yet.
With this change, ignore DEAD_OBJECT native window disconnect failures,
so the state transitions to RELEASED and we don't double release HAL
streams.
Bug: 7258314
Change-Id: I524893e4b4d6463d7b0a7ce32fb6f658afba8e11
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
camera resources
* commit '5f49d702fe25fe3a6752be438db6bf006840e41f':
Camera2: Handle client processes dying by closing camera resources
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CameraService now subscribes to binder death notifications
for each client, and disconnects the client if the death happened
without cleanly shutting down the client first.
Bug: 7258314
Change-Id: I7803836b589fd8f0dfe00f6c28a707b82012e751
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'ad93604d802c7f726f3bdb83ed14412b26a5c809':
Camera2: Don't change state when reconnect is called
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7252802
Change-Id: Ibed4f59a96bef75bf84b1aaf1235fb87e94102ef
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'db6ead4fd0d8bbe3df6ede6727927830727cfa30':
Camera2: Use ZSL format quirk.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Switch service to using HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED,
unless ZSL quirk is set.
This is important for compatibility across multiple implementations.
Bug: 6243944
Change-Id: Iea74671cbb44890a07e4f99cd757b0a5423d447a
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I28da6f16a1d044864c81d5f1dcf6543169c09460
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Read in SCENE_MODE_OVERRIDES static parameter if available.
Use it to select AF/AE/AWB modes when a scene mode is set.
- Add quirks structure to parameters; not yet used
- Fix desynchronization between range and single FPS value.
Still need to sort out best way to convert from one to another.
Bug: 7259959
Bug: 7159577
Bug: 7172543
Change-Id: I0d07c31d5f21fbc4b0ec2fa23f7f778073d2d6e0
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
separate class.
* commit '700a4cdc50b07dc75bb8103e55cc227b6cfa1fc7':
Camera2: Refactor preview/recording management to separate class.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| | |
Bug: 7248756
Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check for new JPEG transport header at the end of the stream buffer
instead of at the beginning.
Bug: 7108816
Change-Id: I26c52267cb406dae50c9d0ee01e6c26359ba84aa
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7240891
Change-Id: I6a01b27197b4ee89a68f06f4375d315a716b67ae
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The (deprecated) single-FPS parameter is not scaled by 1000.
Bug: 7230239
Change-Id: I5664cce90f9cb01e57e39f1a1f7c8eb730501da3
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
API assumes FPS values are in fixed-point with LSB 0.001; HAL2 just
uses ints with no fractional part.
HAL should probably use floats or something similar, but for now, fix
scaling so the two agree on FPS values.
Bug: 7230239
Change-Id: Ie18a4f11fc9d17d9ae2d04781511a273213eda55
|
| |
| |
| |
| |
| |
| |
| | |
Use offset into start of buffer after transport header
Bug: 7108816
Change-Id: I6f9778db313856eaeee31f6999e4e55678b09b26
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise, streams may persist past expected lifetime.
Bug: 6243944
Change-Id: I901971b78baf9d577ea3812588dec3885232e7ef
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix LOG_TAGs to work with standard logcat filtering.
- Add ATRACE to Camera2Device
- Shorten thread names to fit in 16 characters
- Remove some ATRACEs to avoid flooding trace unnecessarily
Bug: 7220520
Change-Id: Ief8d677b5c8bb35d94e0f21b11b86505e83169ea
|
| |\
| | |
| | |
| | | |
into jb-mr1-dev
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7176692
Change-Id: I50e8f9511f1770d97a42d1fa208c04b1bbcfba6b
|
| |/
| |
| |
| |
| |
| | |
Bug: 7155264
Bug: 7120431
Change-Id: I92a9c695b97ec40acf26dbdaa877964e41a9fd4c
|
| |
| |
| |
| |
| |
| |
| |
| | |
Check for JPEG size hint from HAL, use if applicable. Otherwise
read until end of JPEG image to find appropriate file size.
Bug: 7108816
Change-Id: Idfd194133eb6c293ab08c9466f59606e62ba56b6
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7213907
Change-Id: I120b187c1886d85f4b2b5d3a6f28a28936424e8e
|
| |\ \
| | |/
| |/|
| | | |
frames" into jb-mr1-dev
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7205311
Change-Id: I570209445acf3a26f2246c3fe886d56bb63bd2f8
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Close camera device on startup errors
- Make sure all threads are shut down and the device is closed before
returning from ICamera::disconnect.
Bug: 7172680
Change-Id: I98611448ec5f2311e6604fa8ee5f9dde7bfdd988
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Since preview stops after a capture is submitted, need to clear out
the ZSL queue to avoid using stale buffers when the preview starts up
again.
Bug: 7189765
Change-Id: I9ae2382d0af132208aca5ccba49b5464d18a263e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move handling of JPEG callback to CaptureSequencer instead of
JpegProcessor, so that we can be sure the camera state is updated to
STOPPED before the JPEG callback is sent to the application layer.
Bug: 7172743
Change-Id: Ie8752d946d3eb8254230c77f10e5c38a83dc5371
|
| |
| |
| |
| | |
Change-Id: If7aff7223db41b4b7edeeb4c32e40ef3197b180b
|
| |
| |
| |
| |
| |
| |
| | |
Increase maximum duration of the precapture sequence (final metering +
preflash + redeye reduction) to 2 seconds before timing out.
Change-Id: Ie1de4e96d46599eb53e1def9052b211e684f1fbc
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Low-light modes may take longer to capture a picture, so increase the
timeouts.
Change-Id: Id50b1e4fd3186da4e75b2cc1c226ced2f8d394ac
|
| | |
| | |
| | |
| | |
| | | |
Bug: 6910087
Change-Id: Ie774f28fbb943b2ac2c856872fd4cae68b40430c
|