• Home
  • History
  • Annotate
  • only in /frameworks/av/services/camera/libcameraservice/camera2/
History log of /frameworks/av/services/camera/libcameraservice/camera2/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ac0cd56627b121081308213d5a327cfbae410f4d 16-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Improve quirks focusing behavior.

- When scene mode is set and the AF quirk is in use, don't change AF
mode and then cancel when AF cancel is received. Just change mode
since that also implies a cancel.

- Only trigger quirks switch when a focusing area is set.

Bug: 7318812
Change-Id: I28d8755553bd78052e774701210cb94d84ee2046
arameters.h
d6cc4a62f3d94cad4dd36bd0a844ba8764177d26 16-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: When focus is already locked in CAF mode, do not trigger HAL.

In HAL2 CAF modes, once focus is locked by an AF trigger, additional
triggers will not cause AF notifications, since the state will not
change again until a cancelAutofocus call.

Since the old API still expects to see a notification, short-circuit
this at the service and send an immediate success notification.

Bug: 7318298
Change-Id: Ib209a24eaf2a35a247d06aea671efe80a33d751e
arameters.cpp
arameters.h
55f6c9dfd713776e251655b3ddd496b17df0926e 09-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Do not set auto-white-balance regions from metering regions.

Per API documentation, metering regions are only for AE, not also for AWB.

Bug: 7312720
Change-Id: I39bcf33e4c81e80022f45e8fca77ea6cf9ba115e
arameters.cpp
dca0ac2193e87c57d871dd208073107408c13c0a 10-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Fix uninitialized parameters." into jb-mr1-dev
a3ee047fd8e2a63253f70346925c3ffd069dfc99 09-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix uninitialized parameters.

Some parameters were not being set to default values, causing strange
flakiness in any app that wasn't calling setParameters. This includes
many CTS tests.

Bug: 6970468
Change-Id: If91635afc000e23862e7b039292a55349274c5ee
arameters.cpp
1e6ccd5c78016ac9f9247cb8337cf263b3afb73e 08-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Move non-ZSL shutter sound firing to be later.

Instead of firing shutter sound when capture request is submitted for
non-ZSL captures, fire it when the metadata frame is received. This
guarantees that the shutter sound fires after picture capture is
completed by the sensor.

Bug: 7259900
Change-Id: I4a1eeed89ed0400bf80b0f0cc2d5799c3d9bb9e3
aptureSequencer.cpp
aptureSequencer.h
82edd5431951f461058c07b73c0dbc093aa45c99 08-Oct-2012 Igor Murashkin <iam@google.com> Camera2: isSmoothZoomSupported should return FALSE

Bug: 7308024
Change-Id: Ib757bef8f6dc203f8dfa6ea6d11191e3c7cfcc6d
arameters.cpp
6f854608d26d7abcce5e46396c7260ed7b250653 08-Oct-2012 Alex Ray <aray@google.com> Camera2: Set default flash mode to FLASH_OFF

Bug: 6970090
Change-Id: I904b1be2ee0710e82e8e647753a705184c10b46c
arameters.cpp
4c9aeb21051e908b0a0a0864a04a96a4109717a1 08-Oct-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Fix Parameters#setZoom off by 1 validation error" into jb-mr1-dev
b8f0090af19b95027d2e08667c662d058832f94b 08-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: On stopping preview, wait until captures are completed." into jb-mr1-dev
709bc10c04a9b62875b1c7f1f69486cf275338ba 08-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Fix Parameters#setZoom off by 1 validation error

Bug: 7298683
Change-Id: If79ac6396379593eb852f041ca7d5a20ad2f9e6d
arameters.cpp
e18c1cce29dde2054ce52b9135b152901883ca91 08-Oct-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Report getMaxNumFocusAreas 0 for fixed focus cameras" into jb-mr1-dev
d5087f91357a9218580596b466926ab750bc8ea7 05-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: On stopping preview, wait until captures are completed.

If preview is stopped while a still capture or a video snapshot is
underway, wait until the capture completes before stopping preview.

Also use the same behavior for disconnect - do not shut down the
camera device until captures are complete.

This works around HAL implementations which report to be done
(get_in_progress_count returns 0) even when a capture is still
outstanding.

Bug: 7276954

Change-Id: I66290acf1740cc330eadecbcded0c59fa9c5d2fd
aptureSequencer.cpp
aptureSequencer.h
pegProcessor.cpp
4d410ede659448557398c84552eb0bf50ef09cbc 06-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix off-by-one error in ZSL selection.

Bug: 7258126
Change-Id: Ie6da4645c46a7bb0dbd11d7c6183e904f41f74fd
slProcessor.cpp
7d2a4aaaf5691ee523fc0d03c286620f392ed16f 06-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Report getMaxNumFocusAreas 0 for fixed focus cameras

Bug: 7298805
Change-Id: I7499b80a9416bf454c8ea80c31ea4fdd3c4ee2d7
arameters.cpp
arameters.h
7373cbe85e617345f7002256a4be389fe62af913 29-Sep-2012 Igor Murashkin <iam@google.com> Camera2: Fix metering regions to take into account the current zoom/crop region

Also adds a quirk to disable this fix to work around for incompliant HALs

Bug: 7246065
Change-Id: I80bad25e56ba59149270238e5639bb33cae495ae
arameters.cpp
arameters.h
af3d28870f7890370d6acb21d20cf1ccab4b9e08 04-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Change policy for calculating previewFpsRange from previewFps

Bug: 7259959
Change-Id: I759a559d7115201264f88db1f23edc2d6aef6c43
arameters.cpp
arameters.h
95069fefbdf54d87a624c2ac73727fce1c38545e 04-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use the triggerAfWithAuto quirk

When this quirk is set, and a scene mode is enabled, do AF calls with
AF mode AUTO instead of whatever the scene more override AF mode is.

Bug: 7159577
Change-Id: I3ea6b8386abc0968047fc9bba3a35c5db5bdcfd3
arameters.cpp
arameters.h
4865c526e681366481b0ab242ffa1ead57bb02cc 02-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Synchronize mode changes and triggers

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
aptureSequencer.cpp
aptureSequencer.h
rameProcessor.cpp
rameProcessor.h
treamingProcessor.cpp
treamingProcessor.h
slProcessor.cpp
slProcessor.h
ec7710898208162576c3242f5a590651ab42aa2d 04-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Include JPEG settings in ZSL requests.

Bug: 7287743
Change-Id: I1aba81b228451c3df712ce1f42b7aab79cac575f
aptureSequencer.cpp
arameters.cpp
arameters.h
slProcessor.cpp
slProcessor.h
f66cc52cc5a075b86b585cf72c4a41f6907b2142 04-Oct-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Fix deadlock while zooming during record" into jb-mr1-dev
04273cb14d2326e85bb047ea6ef75294c8b3d561 04-Oct-2012 Igor Murashkin <iam@google.com> 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
treamingProcessor.cpp
ce953ce4d698155c50356df093712df1dea76051 04-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Properly update FPS range when FPS is set." into jb-mr1-dev
260f267288502b73d1920a3701be2038753125b5 03-Oct-2012 Eino-Ville Talvala <etalvala@google.com> 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
arameters.cpp
c20630569431234db23b6182dd17102023dee68e 03-Oct-2012 Alex Ray <aray@google.com> 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
aptureSequencer.cpp
slProcessor.cpp
ecf17e82505fdb60d59e00b6dd59036df93de655 03-Oct-2012 Igor Murashkin <iam@google.com> 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
allbackProcessor.cpp
pegProcessor.cpp
treamingProcessor.cpp
slProcessor.cpp
22d58d37db6b5f48a10b3a19f69ffda09943c125 03-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Don't change state when reconnect is called

Bug: 7252802
Change-Id: Ibed4f59a96bef75bf84b1aaf1235fb87e94102ef
treamingProcessor.cpp
e382ee28709b83264a46b09e8f766c5ef42efa35 03-Oct-2012 Eino-Ville Talvala <etalvala@google.com> 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
arameters.cpp
arameters.h
slProcessor.cpp
8a42dd8cd1a245d844f96cfd67dc342d7937e353 02-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use scene mode override parameter

- 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
urstCapture.cpp
arameters.cpp
arameters.h
73bbd1f1c493835f191ea2b0b72439292496b40a 26-Sep-2012 Eino-Ville Talvala <etalvala@google.com> 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
pegProcessor.cpp
pegProcessor.h
treamingProcessor.cpp
treamingProcessor.h
0517e304d0cce25653a033e3cb00172d54ba251d 28-Sep-2012 James Painter <jpainter@google.com> DO NOT MERGE: Remove experimental parameters for burst mode

Bug: 7248756
Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
arameters.cpp
arameters.h
0fa1e760f7093d025c977e5813e8d3a04c863ce3 28-Sep-2012 Alex Ray <aray@google.com> Camera2: Use new JPEG transport header

Check for new JPEG transport header at the end of the stream buffer
instead of at the beginning.

Bug: 7108816
Change-Id: I26c52267cb406dae50c9d0ee01e6c26359ba84aa
pegProcessor.cpp
pegProcessor.h
d0cec0cb574a3d629afb7c32883bc986d7a65535 28-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Only _some_ FPS values in the old API are scaled.

The (deprecated) single-FPS parameter is not scaled by 1000.

Bug: 7230239
Change-Id: I5664cce90f9cb01e57e39f1a1f7c8eb730501da3
arameters.cpp
arameters.h
c9d7e4da3f963dadbea19e9b520fb7a7e28e614a 27-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix FPS value scaling between HAL2 and API

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
arameters.cpp
arameters.h
eb8a42b934f20a15f40d656e2bc90f384f1ccb10 25-Sep-2012 Alex Ray <aray@google.com> Camera2: Fix JPEG Transport Header offset

Use offset into start of buffer after transport header

Bug: 7108816
Change-Id: I6f9778db313856eaeee31f6999e4e55678b09b26
pegProcessor.cpp
4bb8118816874c696d9f1adab48490df1da365f7 24-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Debug and logging fixes.

- 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
urstCapture.cpp
allbackProcessor.cpp
ameraMetadata.cpp
aptureSequencer.cpp
rameProcessor.cpp
pegCompressor.cpp
pegProcessor.cpp
arameters.cpp
slProcessor.cpp
9a2e4fa60c843df54f35923898975fdbd04bed56 25-Sep-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Emit ShutterCallback/RawCallback events after takePicture" into jb-mr1-dev
1b65ae9b7bcb4302f80ddc1464f1aa2c7483efb8 21-Sep-2012 Igor Murashkin <iam@google.com> Camera2: Emit ShutterCallback/RawCallback events after takePicture

Bug: 7176692
Change-Id: I50e8f9511f1770d97a42d1fa208c04b1bbcfba6b
aptureSequencer.cpp
aptureSequencer.h
018d228ac43a8da7d5f36e45fd105c9baf2490a0 19-Sep-2012 Igor Murashkin <iam@google.com> Camera2: Fix cropRegion sometimes exceeding the sensor array size

Bug: 7155264
Bug: 7120431
Change-Id: I92a9c695b97ec40acf26dbdaa877964e41a9fd4c
arameters.cpp
arameters.h
a6b4c40e70eafc5aba16163999de6d3e26667b89 21-Sep-2012 Alex Ray <aray@google.com> Camera2: Truncate JPEG images

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
pegProcessor.cpp
pegProcessor.h
df2bc29664d3bf80bed0012970608e5605acf7af 22-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Don't use ZSL when flash is on force fire mode." into jb-mr1-dev
6b367f2a2bddfed60d63fa4da5e19ca13352a454 22-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Don't use ZSL when flash is on force fire mode.

Bug: 7213907
Change-Id: I120b187c1886d85f4b2b5d3a6f28a28936424e8e
aptureSequencer.cpp
75dce94aca6203ada887b6c2d6a8a8130cdbfaca 22-Sep-2012 Igor Murashkin <iam@google.com> Merge "Camera2: Emit FaceDetection events for all except repeating 0-face frames" into jb-mr1-dev
e7f256a4b1d2037a67ab139fc8131a6ca97bd405 21-Sep-2012 Igor Murashkin <iam@google.com> Camera2: Emit FaceDetection events for all except repeating 0-face frames

Bug: 7205311
Change-Id: I570209445acf3a26f2246c3fe886d56bb63bd2f8
rameProcessor.cpp
rameProcessor.h
768cf093dade9085e0ad6305d9f7c16ae9ad9e26 20-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Erase ZSL queue after each use.

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
aptureSequencer.cpp
slProcessor.cpp
slProcessor.h
fe580e57081885dd6059e0d407a6cd96a1be7e51 20-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: State must be STOPPED before JPEG callback is fired.

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
aptureSequencer.cpp
aptureSequencer.h
pegProcessor.cpp
da1c5c15c2483cd41035e1a492c5963ac86bbcf5 20-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: ZSL captures should also make some noise.

Change-Id: If7aff7223db41b4b7edeeb4c32e40ef3197b180b
aptureSequencer.cpp
c55311869f1853c6814c9bcda8a4b60e43091c1a 20-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Increase max timeout for the precapture sequence.

Increase maximum duration of the precapture sequence (final metering +
preflash + redeye reduction) to 2 seconds before timing out.

Change-Id: Ie1de4e96d46599eb53e1def9052b211e684f1fbc
aptureSequencer.h
74e58c55bc5259b957a51f1bb44a5911ad1f8400 19-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Increase capture timeout." into jb-mr1-dev
1f266efe8ce2976b6531fab8698716354b2247f8 19-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Increase capture timeout.

Low-light modes may take longer to capture a picture, so increase the
timeouts.

Change-Id: Id50b1e4fd3186da4e75b2cc1c226ced2f8d394ac
aptureSequencer.h
2f93127de30bbe17707ca8923c486d4494ffda37 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Enable ZSL by default.

Bug: 6910087
Change-Id: Ie774f28fbb943b2ac2c856872fd4cae68b40430c
arameters.cpp
9c6ec8213d8da486a61659b9c37b7a57a2c4bb1a 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: ZSL: Do regular capture if AE is not satisfied." into jb-mr1-dev
97b38a81ac989ccba02d726011a82541f14166df 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: ZSL: Do regular capture if AE is not satisfied.

- Check the AE state of the selected ZSL buffer; if it's not reporting
as CONVERGED or LOCKED, fall back to normal capture sequence
- Add more debugging for the ZSL queue.

Bug: 6910087
Change-Id: I77a4287580aa9ddbd58438477c40ce829555d0ca
aptureSequencer.cpp
slProcessor.cpp
slProcessor.h
663c2cd909cb9c0699b4d58c1db7c6252afd77ea 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Don't be bothered by lack of faces.

Sometimes, people might want to photograph scenes with no faces. And
not have their log fill with errors when they do.

Bug: 7078231
Change-Id: Ibe5c08d51b49a3ea14203416fe7803a58de08dda
rameProcessor.cpp
a9f8d040146533a9c214473fd79cbd9dff44428d 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Filter out faces with 0 confidence.

Bug: 7078231
Change-Id: I559f1281359835e0489456091a5409ebc8f73479
rameProcessor.cpp
d14de47262340d70fc11fe56159462b9b981067f 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Change face detect/scene mode priority.

Explicit scene modes should override the implicit face priority scene
mode from enabling face detection, to match application/API
expectations.

Change-Id: I6f0f44fadeacfdc0594dd2fdc280e294d2d87df6
arameters.cpp
efb039e07c688c21122c938b008457bd4f555898 15-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Don't play shutter sound when doing a video snapshot

Bug: 7171820
Change-Id: I11ec0900aff3cdf4b57ae1bfc75f7acfecf95098
aptureSequencer.cpp
beb1416afd1d331b8e7e93d626f39267acce289a 14-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Revert "Camera2: Use FORMAT_ZSL until transition to new gralloc scheme.""

The changes this commit depends on are now submitted.

This reverts commit f54b1459cda7f585b4896671643b33bab8290964

Change-Id: If7f146ab7968d50fffd2174c2c5792bdc9d7724c
slProcessor.cpp
f54b1459cda7f585b4896671643b33bab8290964 14-Sep-2012 Igor Murashkin <iam@google.com> Revert "Camera2: Use FORMAT_ZSL until transition to new gralloc scheme."

This reverts commit 8a3016613dc684a6be11fdf643f9cc5cad817e8f

Change-Id: I3f1d4e9c13df838b8b6aa5696a6494140eac3e04
slProcessor.cpp
8a3016613dc684a6be11fdf643f9cc5cad817e8f 14-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use FORMAT_ZSL until transition to new gralloc scheme.

Until all HAL implementations move to the new format negotiation
scheme, use CAMERA2_HAL_PIXEL_FORMAT_ZSL to indicate ZSL mode.

Bug: 6243944
Change-Id: Idf5d9f42e203903ba906d5df156100646b27404c
slProcessor.cpp
bdde5f884eaf270ab4b806849f3122a46cd872ce 12-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix ZSL bugs.

The ZSL processor was discarding buffers too often, and waiting for
new buffers with mutexes held.

Also adds basic fallback to regular capture in case the ZSL queue
doesn't contain a suitable buffer.

Bug: 7147043

Change-Id: I5721267ef08dbc87ef9d8ec47f333db5f67e41c1
aptureSequencer.cpp
slProcessor.cpp
slProcessor.h
6e4db898bac9499a8abe7e6b6fbf729b78f6bd68 12-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use full pixel array for ZSL stream

For efficiency, use full pixel array size for the ZSL output/input
streams, instead of the final picture size.

Bug: 7139362
Change-Id: I98ad4f5a1ca283efe87ae60bf0cf39573e22d2f3
slProcessor.cpp
b075252349a4b40ddda791f2e1221ae0ce7e4cd1 12-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Configure ZSL at the right time.

ZSL enable was too early in the camera startup sequence, resulting it
being turned off most of the time.

Bug: 7148012
Change-Id: Ie144dd960d018a34b0bc77c88208ca22b7112772
arameters.cpp
47512a7da600ababdfd052b574488b9e499c22f6 10-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Clean up the right streams.

Change-Id: I780c3e8e255f6a185e0edf1d76f35afdc74dff48
slProcessor.cpp
61c0cc6af2c64d280bcfc1fcca3e3589172a5817 07-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use face priority scene mode when face detect is enabled.

Per API specs, enabled face detection implies that metering, etc is
done based on faces.

Bug: 6243944
Change-Id: Ie35162226d70cc0f437e92e37be138e71e45e738
arameters.cpp
4a02cc818607c0c145f91c3acb9181868a108f26 10-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Sanity check inputs better.

Bug: 7132141
Change-Id: I866a65dfe47464070a6ef4ac60be4801cb68327b
arameters.cpp
e538206d15282afbc5b168d60b1026a5dfcd13c0 06-Sep-2012 James Painter <jpainter@google.com> Camera2: Add a burst mode skeleton.

Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
urstCapture.cpp
urstCapture.h
aptureSequencer.cpp
aptureSequencer.h
pegCompressor.cpp
pegCompressor.h
arameters.cpp
arameters.h
1c7ff022a91e4f966c23dcf11f6859c69c08841a 07-Sep-2012 Alexander Ray <aray@google.com> Merge "Camera2: Increase zoom steps." into jb-mr1-dev
cf70d3469332445dc3ffd09729da3538612b1bb2 06-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Delete all streams and stop all threads during shutdown.

Bug: 6243944
Change-Id: If13a1f91e8a07c1ec4f91183d1a4b261ec4f6d52
allbackProcessor.cpp
pegProcessor.cpp
slProcessor.cpp
609acc0c96bc2aedd42246862b537e045f5184b6 07-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Play shutter and recording sounds.

Bug: 6987540

Change-Id: Icd441a757c4b68fc4988b3bfbef428adb8d1ba28
aptureSequencer.cpp
161fac83b369f4873859a101b6a71efeb596bd4a 07-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Increase zoom steps.

10 is too low for smooth zoom; increase number to improve smoothness.

Bug: 7120794
Change-Id: I178cd3890ef37beeff97cadb9e92ceab6d2cad06
arameters.h
96150cfc6b9ae93b6c4b60b5c7889a7a90af5def 03-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Move locked states out of AE/AWB mode

Bug: 6243944

Change-Id: I7b609cc6c04c957d1f48c1a996263fa9c7b94000
arameters.cpp
da6665cbd06ca58d3357c3002b7366d13e23f152 30-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Basic ZSL and precapture trigger support.

- 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
allbackProcessor.cpp
allbackProcessor.h
ameraMetadata.cpp
ameraMetadata.h
aptureProcessor.cpp
aptureProcessor.h
aptureSequencer.cpp
aptureSequencer.h
rameProcessor.cpp
rameProcessor.h
pegProcessor.cpp
pegProcessor.h
arameters.cpp
arameters.h
slProcessor.cpp
slProcessor.h
f128dc51c81e6b831806e0de505e4edbb02b7e71 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Require 2 JPEG thumbnail resolutions.

Include (0,0) as a required thumbnail resolution, to allow turning off
thumbnails.

Change-Id: I3c4efe2d6a4f576a11ce5b75a3d573812a100b80
arameters.cpp
d86a6880fe86bda21a9b53b240996fc410a512a5 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Move preview callback processing to its own thread.

To reduce delays for HAL callbacks, manage preview callbacks in their
own thread.

Bug: 6243944
Change-Id: I7bef56949ac889ffce4e031bf40291a771a46f3e
allbackProcessor.cpp
allbackProcessor.h
ea0d51b5ed0b474433b02414f9133b835f972569 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Move still capture processing to separate thread.

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
amera2Heap.h
aptureProcessor.cpp
aptureProcessor.h
a16733eeb9c40db4793bec408f29b4204e5f23b1 28-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Factor out FrameProcessor.

Move FrameProcessor to its own file, add necessary interfaces to
Camera2Client.

Bug: 6243944
Change-Id: I8d1b8280a65d2822461ebe6b6c9de17992b34276
rameProcessor.cpp
rameProcessor.h
2e19c3c02957208371cdd491e6342ea7ddb440d9 26-Aug-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Factor out Camera2Client::Parameters

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
ameraMetadata.cpp
ameraMetadata.h
arameters.cpp
arameters.h