| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
When recordingHint is set, don't pre-allocate recording stream on
preview start.
Bug: 7137947
Change-Id: I06b5f6d7dbb21d4d0747974ba001b0c8929a0b02
|
|
|
|
| |
Change-Id: I780c3e8e255f6a185e0edf1d76f35afdc74dff48
|
|
|
|
|
|
|
|
| |
Per API specs, enabled face detection implies that metering, etc is
done based on faces.
Bug: 6243944
Change-Id: Ie35162226d70cc0f437e92e37be138e71e45e738
|
|
|
|
|
| |
Bug: 7132141
Change-Id: I866a65dfe47464070a6ef4ac60be4801cb68327b
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I31c964caeb8b5d9ae0a426224f030cdcb01114a0
|
| |
| |
| |
| | |
Change-Id: Ia4bebc4ecc850b42ebd4edd1ffed07e9bc2ec300
|
| |
| |
| |
| |
| | |
Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The ThreadBase class now has a separate member for input
and output devices (mInDevice, mOutDevice).
Only query get_supported_devices() from audio HAL if the function
is exposed and if the audio policy manager did not specify the
audio module to open.
Also fixed bug in AEC preprocessing that would reset
to default output device when an input device was given.
Change-Id: I19d4d06aeb920b068e3ef31e6e6be6345ce5d67a
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
10 is too low for smooth zoom; increase number to improve smoothness.
Bug: 7120794
Change-Id: I178cd3890ef37beeff97cadb9e92ceab6d2cad06
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use recordingHint to create recording and still capture streams up
front, and to use the recording template when doing preview.
Bug: 6243944
Change-Id: Ifeb624794849f734784b53a1a10ff2bfe8f1a357
|
| |
| |
| |
| |
| | |
Bug: 6243944
Change-Id: If13a1f91e8a07c1ec4f91183d1a4b261ec4f6d52
|
|/
|
|
|
|
| |
Bug: 6987540
Change-Id: Icd441a757c4b68fc4988b3bfbef428adb8d1ba28
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added support for EFFECT_CMD_SET_AUDIO_SOURCE audio effect
command to inform preprocessings of current audio source
selection for capture.
Change-Id: Ib2418a9aa8114e8457fe828ecd43b230ed86cdd6
|
| |
| |
| |
| |
| |
| | |
Bug: 6243944
Change-Id: I7b609cc6c04c957d1f48c1a996263fa9c7b94000
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add capture sequencer to control still image capture process
- Use precapture trigger for standard capture in sequencer
- Add infrastructure for reprocessing streams
- Add ZSL processor to maintain ZSL queue
- Add ZSL capture sequence to sequencer
This patch sets up ZSL mode and precapture triggers.
For now, to enable zsl mode, set the system property camera.zsl_mode
to 1.
Bug: 6243944
Change-Id: Icf8cb1a83a7c11a152a11007c8f3c54f8ea1c70c
|
|/
|
|
|
|
| |
containing object
Change-Id: I6077b61b3e718b9b44ff86ca669a59f96b0b256f
|
|
|
|
|
|
|
| |
This makes sure that vendor specific metadata can propogate through
the framework.
Change-Id: I3bd0ae4b889eb907caf7b305dbcb16abbbef0ea3
|
|
|
|
| |
Change-Id: Ie7504d0ddb252f7e4d4f99ed0b44cfc7b1049816
|
|
|
|
|
|
|
| |
RecordThread::isValidSyncEvent() returns false, so most of
RecordThread::setSyncEvent() is never executed.
Change-Id: I0cf848beb46a367a45126d2df3073c5afa2ca59c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libnbaio is now a separate shared library from AudioFlinger, rather
than a static library used only by AudioFlinger.
AudioBufferProvider interface is now also independent of AudioFlinger,
moved to include/media/
Change-Id: I9bb62ffbc38d42a38b0af76e66da5e9ab1e0e21b
|
| |
| |
| |
| |
| |
| |
| | |
Include (0,0) as a required thumbnail resolution, to allow turning off
thumbnails.
Change-Id: I3c4efe2d6a4f576a11ce5b75a3d573812a100b80
|
| |
| |
| |
| |
| |
| |
| |
| | |
To reduce delays for HAL callbacks, manage preview callbacks in their
own thread.
Bug: 6243944
Change-Id: I7bef56949ac889ffce4e031bf40291a771a46f3e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To avoid stalling HAL when it queues up new buffers for still capture,
process still captures in a separate thread. Also move Camera2Heap to
its own class so it can be used by the CaptureProcessor.
Bug: 6243944
Change-Id: Id38e2a52367c0985812fcd4fd9af3ef90beef43f
|
|/
|
|
|
|
|
|
| |
Move FrameProcessor to its own file, add necessary interfaces to
Camera2Client.
Bug: 6243944
Change-Id: I8d1b8280a65d2822461ebe6b6c9de17992b34276
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the parameter structure and the various utility methods using it
to its own class. Rename LockedParameters to SharedParameters to match
the Mutex naming convention.
Also move CameraMetadata to camera2 directory for organization.
No functional changes.
Bug: 6243944
Change-Id: Ie60b535936ecfda9bf23361d52604abf515c83d0
|
|
|
|
|
|
|
|
|
| |
- Use active pixel array-based coordinates instead of the normalized
camera API coordinates for ae/awb/af regions
- Fix calculation of UV stride for YV12 format
Bug: 6243944
Change-Id: I80cbd989858b0a3cb75c6f536c145e16e44fdb25
|
|
|
|
|
|
|
|
| |
To avoid blocking the HAL on possibly long-running binder calls,
move frame receiption and processing to its own thread.
Bug: 6243944
Change-Id: I6385be4410b2f68e2331755027afc10c342187cf
|
|
|
|
|
|
|
|
|
| |
Wrap the use of the camera_metadata library inside a CameraMetadata
class to avoid memory leaks, improve code clarity, and increase type
safety.
Bug: 6243944
Change-Id: I90ca592b5875e27e4c58ea1ca680582dc3c3b56a
|
|
|
|
| |
Change-Id: Ie865ceeabaeb698a62c11eac9f96e303c44c28ae
|
|
|
|
|
|
|
|
| |
Get rid of MediaConsumer, which was largely duplicated code, and
replace it with the simpler BufferItemConsumer.
Bug: 6243944
Change-Id: I242d80c5fe39f2ee581ec8bb46f362997d994b0a
|
|
|
|
|
|
| |
Reduce log spamming due to incomplete implementations.
Change-Id: I6eb9d657591bd5f1476dd8c96e4a00b8a03e2a5e
|
|
|
|
|
|
|
|
|
|
|
| |
- Move camera overall state enum to be part of parameters
- No longer use ICameraLock to guard access to overall state enum
- Add callback flag management
- Add callback stream and management
Bug: 6243944
Change-Id: Ideb3dc523a23c05e440e429ebf838b1900a96573
|
|
|
|
|
|
|
|
| |
Now can set scene mode back to auto.
Bug: 7001465
Change-Id: Ia25ba54d13de662bef5bf79957987513a7313c18
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Plumbing for processing output metadata frames from the HAL
- Support for passing face detection metadata from said frames
to the application.
- Switch calls on ICameraClient interface to use separate mutex to
avoid deadlock scenarios with messages being communicated from the
HAL to the camera user while calls from the user to the service are
active.
Bug: 6243944
Change-Id: Id4cf821d9c5c3c0069be4c0f669874b6ff0d1ecd
|
|
|
|
| |
Change-Id: I92e32ee16274c032c9d0ce910676be2a7fa52471
|
|
|
|
| |
Change-Id: I3e4af69b929d4ca04afaac26c7e41c89fce25b9c
|
|
|
|
|
|
|
| |
setSyncEvent() returns a status_t which is sometimes ignored.
Emphasize this is intentional by casting to void.
Change-Id: Ic614988347cba36bd2504d7ad321594a355b0d9d
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 6679403
Change-Id: I6c2701f9afedc26540dfad0b4e23348bbc4cb01a
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
resources for MIPS."
* commit 'ff4c64d6b1b58494a1b15f1a664e5c421d095d15':
Fix initialization of audio mixer track resources for MIPS.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The value 1 << 32 (maxNumTracks defaults to 32) is surprisingly not defined
in C, and differs on MIPS than the other arch.
Therefore the track resources were not initialized properly, resulting
in failure to play any audio.
The fix allows the mConfiguredNames bitmask to be correctly set to all
1's in the 32-track case, for all arch.
Change-Id: Ied3e1305952e9567602e2cd76c5ef3acb0809ee0
Signed-off-by: Paul Lind <plind@mips.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On fast hardware, which is more common, the shutter sound is
played and recorded before video recording is stopped.
Before we call play shutter sound before calling stop recording.
With this fix we call play shutter sound after calling stop recording.
Change-Id: I06a3e65fd2700f1d2457fea5ff0f64500eac436f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In continuous AF modes, when an AF trigger/cancel is received in the
middle of a passive AF scan, we want to send both an AF move stop
callback and an AF done callback. Swap the order of sending to
simplify life when the app just wants to pay attention to the AF done
callback during an active AF trigger.
Bug: 6243944
Change-Id: I127d1675bc37ef828ef89c70b8cfab75f9428a2f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Add skeletons for all triggering actions into Camera2Device
- Add support for AF triggers to HAL
- Add support for AF notifications from HAL
Bug: 6243944
Change-Id: I21025440849ae41f7083e1dcb72c99f8e5b2d5f7
|
| |/
|/|
| |
| | |
Change-Id: I7a20f3ca787e11ca9c8c904b257e3c8a4e529136
|