| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 10606535
Change-Id: I0dd5ca3e09f45701659ab9ebd3b51939a2f6e6ba
|
| | |
| | |
| | |
| | |
| | | |
Bug: 10604704
Change-Id: I223ac5d200eb6439c08955fb7ad586592099fbae
|
|/ /
| |
| |
| |
| | |
Bug: 9924539
Change-Id: Ief39eff79c31f2c2aa5df2fe1a0f04c4afc74690
|
|\ \
| | |
| | |
| | | |
stopPreview()." into klp-dev
|
| | |
| | |
| | |
| | |
| | | |
Bug: 10414772
Change-Id: I928cb3935afb101da8a7931f88c27dccdb03b4a9
|
|/ /
| |
| |
| |
| |
| | |
Bug: 10620944
Change-Id: I44c0d09a3d313ae8f724fbe61fa5f36cf5b38b6d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, we only wait 200 ms for the HAL to switch to the precapture
state. This is insufficient at low preview frame rates (dark
conditions, ~10 fps), where a 3-request-deep HAL pipeline will take
300 ms to produce a precapture trigger output. In those cases, we
would prematurely skip the precapture sequence, causing bad quality
pictures.
Since this is a fallback timeout to prevent deadlock in case of a bad
HAL or framework implementation, increase the timeout to 1 second. Has
no impact on correctly-working implementations
Bug: 10430191
Change-Id: I08e99f8e7f3beb8f15dcee32632cdebfe3dca8b3
|
|\ \
| | |
| | |
| | | |
klp-dev
|
| | |
| | |
| | |
| | |
| | | |
Bug: 10552448
Change-Id: Ie93ba744ae6705aa657f980ae8e08ec624feeb39
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RequestThread's internal busy flag (mPaused) was not being immediately
set when new work was submitted to it. This allowed for a race
condition where a capture() followed by an immediate
waitUntilDrained() would immediately return from the wait.
Set the mPaused flag to false immediately in capture() and
setStreamingRequest() to avoid this, instead of waiting until the end
of the next RequestThread iteration.
Bug: 10531739
Change-Id: I54a79fe5361d527ec717f41ad805e9b319a48cd8
|
| |
| |
| |
| |
| |
| |
| |
| | |
- On HAL2 devices, fall back to wait until idle
- On HAL3 devices, call HAL flush method
Bug: 9758581
Change-Id: Ie1c570a15f6590a1ee6c271e3b989c48079b468a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use the controlledByApp flag to make sure application-bound
preview buffer queue is asynchronous as before
- Remove setPreviewDisplay in service, since it is no longer in
the binder interface
- Rename setPreviewTexture to setPreviewTarget, to make it clear it's
the only game in town now. Rename only on the binder level and service
for now.
Bug: 10312644
Change-Id: Icd33a462022f9729a63dc65c69b755cb7969857e
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10361136
-Connect calls now return status_t error flags.
Change-Id: Idca453b111e5df31327f6c99ebe853bb2e332b95
|
| |
| |
| |
| |
| | |
Bug: 9265647
Change-Id: Iefabc11e4bd2e2e8ffd31160476c450affe6629c
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
At stream configure time, pass on the stream's consumer usage flags
to the HAL, to speed up final hardware configuration.
Bug: 9592202
Change-Id: Ie467be053be36a09e482f5f05cad65df42d66476
|
|/ /
| |
| |
| |
| |
| | |
Also rename the frameId to requestId to make it less confusing.
Change-Id: I14a20b6fcabb86294afb31fc0c56397e185c1373
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Support API rename from photography to camera2
- Reorganize camera service files
- API support files to api1/, api2/, api_pro/
- HAL device support files into device{1,2,3}/
- Common files into common/
- Camera service remains at top-level
Change-Id: Ie474c12536f543832fba0a2dc936ac4fd39fe6a9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 9487482
Change-Id: I09d3b4e41454d350c4bc7b1f8e893c3dad655e73
|
|/ /
| |
| |
| |
| |
| | |
Also fixed some logging typo
Change-Id: Ib254bdb137dca10b12595c23aeb1c53097423425
|
| |
| |
| |
| | |
Change-Id: Iae7e5f9e6387f61f1c4bbb91f75803fc1fdf2668
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Wrong request id was pushed in request list.
Change-Id: I55bf7ae84ca41eec79db1a81d2cde35beaa2a6b9
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I3c5d4be2a2e8783fbf98b3e268fd02658f71dc7d
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
before preview.
* commit 'b0177ff25e3e620be6ebe1e2c3f645b2f05dd57e':
Camera2/3: Fix deadlock when starting recording before preview.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move 3A notification synthesis for HAL3 devices from
Camera3Device::processCaptureResult to Camera2Client's
FrameProcessor. This will ensure that calls to processCaptureResult
from HAL can never block on Camera2Client internal mutexes.
Bug: 9923891
Change-Id: I5184649bf45c0807babe6b8c0e1239e959cd3480
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ic2d9a9cf184a482b3c78a481ed693ee32df5ca13
|
|/ /
| |
| |
| |
| | |
Bug: 9529161
Change-Id: I927e39c124cd5fb19e38423506f4463acc381cb0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug 7900302
Change-Id: I30b9cca783e0a48f77035b745b7d5e20edf10f27
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
during still capture
* commit 'adaa78c901a2f2509965b7acc1cde848dfc6bafe':
camera2/3: set preview callback oneshot flag during still capture
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Preview callback oneshot flag need set when a still picture is being captured
and preview callback oneshot is enabled, otherwise, the callback enabling status
could be lost when preview is restarted after still catpure.
Bug 9742091
Change-Id: If9562369013e53727edfdd16f3d00d6a9392e70d
|
|\ \ \
| |/ /
| | /
| |/
|/|
| |
| | |
recording buffers
* commit '06a4604e77b5872857ef95fe712b6ce00c7aa506':
Camera2/3: As a fallback, unilaterally free old recording buffers
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
JPEG streams have variable size, so use the HAL-provided max size
to size the stream buffers.
Change-Id: Ie6900bc9ece6e972eae93fca6aca779224c9bfc6
|
|\ \ \
| |/ /
|/| /
| |/ |
Change-Id: I21f23c1c5e4408c24c359bef6270dffce47a988d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Tear down conflicting streams when necessary.
- Shut down callbacks if recording starts
- Do not allow callbacks to start if recording is active
Per the current camera API, recording and preview callbacks cannot be
active simultaneously. However, the framework did not explicitly
disallow this, and in fact left the streams configured once they were
created, even if switching between the two operational modes.
In addition, no guards existed for trying to enable both recording and
callbacks at the same time.
Bug: 9423825
Change-Id: I7d6e6114c2e14fcfb5299b4c72ad557895cbf4b8
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* changes:
Make android.hardware.photography.Camera work on HAL3+ devices
Initial implementation of android.hardware.photography.CameraDevice (service)
|
| | |
| | |
| | |
| | |
| | | |
Bug: 9213377
Change-Id: I5b2eeab28985f53dfcb7b8e3029930f5adcd74f5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Verified preview streaming requests
* Other things *should* work but unverified / unimplemented in client side
Missing:
* CameraService needs to return static camera info metadata
Bug: 9213377
Change-Id: I71568560fcf18d0e2b408ed1c4d0066647314868
|
|/ /
| |
| |
| | |
Change-Id: I752659e1f0522392b902839cd7f4d997dcd85966
|
|\ \
| |/
| |
| |
| | |
* commit '9c8714daaf6a402abd85557e9b652c86f0df86e4':
Camera2/3: Avoid shutdown race in callback processor.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's possible, during shutdown, for callback processor's heap to be
destroyed when it's about to send the callback back to the user.
Properly copy the heap reference to a local variable before unlocking
the mutex.
Bug: 9485959
Change-Id: I301347b77145f19c7ac721b9127dc74f122acce2
|
|\ \
| |/
| |
| |
| | |
* commit 'bda5d1f2a34f9b7ded0bc0441be4856e78ec066c':
Camera3: Power: Properly shut down unused thread.
|
| |
| |
| |
| |
| | |
Bug: 9466221
Change-Id: I9ed0740561b2e04954eebc1b8aec89cfab40a3a0
|