History log of /frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
82edd5431951f461058c07b73c0dbc093aa45c99 08-Oct-2012 Igor Murashkin <iam@google.com> Camera2: isSmoothZoomSupported should return FALSE

Bug: 7308024
Change-Id: Ib757bef8f6dc203f8dfa6ea6d11191e3c7cfcc6d
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
6f854608d26d7abcce5e46396c7260ed7b250653 08-Oct-2012 Alex Ray <aray@google.com> Camera2: Set default flash mode to FLASH_OFF

Bug: 6970090
Change-Id: I904b1be2ee0710e82e8e647753a705184c10b46c
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
709bc10c04a9b62875b1c7f1f69486cf275338ba 08-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Fix Parameters#setZoom off by 1 validation error

Bug: 7298683
Change-Id: If79ac6396379593eb852f041ca7d5a20ad2f9e6d
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
7d2a4aaaf5691ee523fc0d03c286620f392ed16f 06-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Report getMaxNumFocusAreas 0 for fixed focus cameras

Bug: 7298805
Change-Id: I7499b80a9416bf454c8ea80c31ea4fdd3c4ee2d7
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
af3d28870f7890370d6acb21d20cf1ccab4b9e08 04-Oct-2012 Igor Murashkin <iam@google.com> Camera2: Change policy for calculating previewFpsRange from previewFps

Bug: 7259959
Change-Id: I759a559d7115201264f88db1f23edc2d6aef6c43
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
ec7710898208162576c3242f5a590651ab42aa2d 04-Oct-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Include JPEG settings in ZSL requests.

Bug: 7287743
Change-Id: I1aba81b228451c3df712ce1f42b7aab79cac575f
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
0517e304d0cce25653a033e3cb00172d54ba251d 28-Sep-2012 James Painter <jpainter@google.com> DO NOT MERGE: Remove experimental parameters for burst mode

Bug: 7248756
Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
2f93127de30bbe17707ca8923c486d4494ffda37 18-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Enable ZSL by default.

Bug: 6910087
Change-Id: Ie774f28fbb943b2ac2c856872fd4cae68b40430c
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
4a02cc818607c0c145f91c3acb9181868a108f26 10-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Sanity check inputs better.

Bug: 7132141
Change-Id: I866a65dfe47464070a6ef4ac60be4801cb68327b
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
e538206d15282afbc5b168d60b1026a5dfcd13c0 06-Sep-2012 James Painter <jpainter@google.com> Camera2: Add a burst mode skeleton.

Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
96150cfc6b9ae93b6c4b60b5c7889a7a90af5def 03-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Move locked states out of AE/AWB mode

Bug: 6243944

Change-Id: I7b609cc6c04c957d1f48c1a996263fa9c7b94000
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp
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
/frameworks/av/services/camera/libcameraservice/camera2/Parameters.cpp