• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/hardware/camera2/params/
History log of /frameworks/base/core/java/android/hardware/camera2/params/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa5e2a156da99322a5e847ab2373c03784060119 11-Apr-2016 Eino-Ville Talvala <etalvala@google.com> Camera/Surface: Update OutputConfiguration API

- Rename "surface set ID" to "surface group ID"
- Remove setSurfaceSetId
- Use constructor overloads to set surface group ID, make
OutputConfiguration immutable
- Add Surface.getConsumerDescriptor to make it possible to verify
if two Surfaces have the same backing consumer
- Cache initial surface generation ID in OutputConfiguration so that
changes in a Surface's internals will label it is as a
new output
- Add sample use case for surface group IDs

Bug: 27950763
Bug: 28076469
Change-Id: I13251d1dd3d26a978ffbedc519966524e93bc61c
utputConfiguration.java
7966d446cddf92f814792dca3cfb0dfbbc1bef3e 14-Mar-2016 Eino-Ville Talvala <etalvala@google.com> Adjust graphics dataspace references to new standard

Bug: 27344373
Change-Id: I0ad67868894b01948d40336812d836ee2f3bcfdb
treamConfigurationMap.java
5d2d7788f1759b0f3d2c057af0b3ea61b0354fee 18-Dec-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Switch to auto-gen C++ binder interfaces

- Move camera AIDL files to frameworks/av
- Update makefiles to point to new AIDL locations
- Adjust camera2 implementation to match modifications to AIDL needed
for native AIDL auto-generation
- Move Surface.aidl to frameworks/native to allow use in
native AIDL. Use android::view::Surface in Surface JNI to
serialize Surface objects to ensure parceling compatibility.
- Adjust service binder tests to new interface

Bug: 25091611
Change-Id: I85b817374b34a4540fa145328dbe4bbf7f746baf
utputConfiguration.aidl
utputConfiguration.java
endorTagDescriptor.java
4a67724da64aa34011d2c487919d2cf6f5805ff7 16-Feb-2016 Chien-Yu Chen <cychen@google.com> Camera2: Fix getInternalFormatSizes for depth

All depth formats are considered as non-high-res. Also compare depth
minimum frame durations instead of regular minimum frame durations
for depth formats.

Bug: 26687093
Change-Id: I65b691fe450077b0e3ace15f6ac0289b41caf42f
treamConfigurationMap.java
445b316755923565c3b5b8ebb642db10de5d0ab7 19-Jan-2016 Zhijun He <zhijunhe@google.com> Camera2: add surface set ID

Add surface set ID to OutputConfiguration class,and make this class public.

Bug: 25088440
Change-Id: Ib5fd74aa2c7bc06aed70771765767d6fcfefa98f
utputConfiguration.java
44581ff4db54bbaa30365ed210e67a0369576100 08-Dec-2015 Yin-Chia Yeh <yinchiayeh@google.com> Camera: add RAW_PRIVATE format

Also add necessary plumbing for RAW_PRIVATE to work for ImageReader.

Bug: 25596619
Change-Id: Ic90f3f44264ac46fae1fafbc27ac64b5319f0970
treamConfigurationMap.java
6393275f5f8daa2d14dbc3fbd6511a78978999cd 25-Aug-2015 Eino-Ville Talvala <etalvala@google.com> am 2bf7b98a: Merge "Camera2: Remove filtering for non-BURST_CAPTURE-capable devices" into mnc-dev

* commit '2bf7b98a2ade8b3fe25143fa9ef94f2266a908dd':
Camera2: Remove filtering for non-BURST_CAPTURE-capable devices
e3f54839770066bbdd2886c962f5c72bd40f7d20 24-Aug-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Remove filtering for non-BURST_CAPTURE-capable devices

Devices that do not support the BURST_CAPTURE capability do not
get the split resolution lists. However, one spot in the stream
configuration map enumeration did not guard against this properly.

As a result, the category of devices that are not-BURST-CAPABLE and
do list resolutions that operate at a 'slow' (<= 20fps) rates cause
an assert to fire from an apparently-inconsistent size list.

Guard the filtering correctly, to correctly support such
devices.

Bug: 23489536
Change-Id: Ib026f6555c69b7fac0cd1ea5027d598644cd8701
treamConfigurationMap.java
828adbba24c430b09c48092ce05730a54e50756a 18-Aug-2015 Chien-Yu Chen <cychen@google.com> Camera2: Handle surface size change

When comparing if two OutputConfigurations are equal, also check
the width, height, format, dataspace when the output configurations
were created. With this, CameraDeviceImpl knows that the surface has
changed sizes and will reconfigure the stream.

Bug: 12250682
Change-Id: Ie5965d242b2017b87a76d26cdc2f6b700082e002
utputConfiguration.java
72064af7e75f7e3b2eb2e58a3af408861eb8c4e9 11-Aug-2015 Eino-Ville Talvala <etalvala@google.com> Camera: Fix framework bugs with DEPTH-only camera devices

Mostly due to no standard stream configurations being defined,
and for the correct overrides for DEPTH_POINT_CLOUD format.

Bug: 20537722
Change-Id: I8a18f5f68697a09dcc4d7555e51728193fe7f333
treamConfigurationMap.java
639fffee624302ec5b175503d7bd8a441340a629 30-Jun-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Reorganize high-speed recording API slightly

- Split off distinct high speed capture session class from base capture session
- Move createHighSpeedRequestList to CameraConstrainedHighSpeedCaptureSession

Bug: 21664295
Change-Id: I67d705fdeee1eaa6e5e3e1416771d5d0df642843
treamConfigurationMap.java
3c1ff68d699be7157af0ea43adac27ad46bb6e56 23-Jun-2015 Zhijun He <zhijunhe@google.com> Camera2: update high speed recording API java doc

Bug: 21442271
Change-Id: Iff5889394f7723eb0fd7319b9513cd0dca04b927
treamConfigurationMap.java
e365120aaead97567bdfbc53d3bfc2699bd2f886 20-Jun-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix StreamConfigurationMap#isOutputSupportedFor for depth

Need to check the right configuration list if the format is a
depth format.

Also refactor code slightly to use SurfaceUtils when possible.

Bug: 21902551
Change-Id: Icca2e81d8144bede46ad9f117d5e010ed409887c
treamConfigurationMap.java
0819c75680c81a4e9c8a1ec518ac62cceccf3f56 17-Jun-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Remove HIGH_RESOLUTION level and modify FULL requirements

- Reword requirements for FULL level
- Remove HIGH_RESOLUTION level
- Add StreamConfigurationMap#getHighResolutionOutputSizes
- Clean up StreamConfigurationMap implementation
- Add 5-argument HashCodeHelper

Bug: 20945581
Change-Id: I75ad4b23e902192c96ed501e10c7d55fc0ad72a6
treamConfigurationMap.java
onemapCurve.java
b1300e39c7974937d563b3ec62f5246248a157b3 28-May-2015 Zhijun He <zhijunhe@google.com> Camera2: add high speed video APIs

Interface only.

Bug: 21442271
Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901
ighSpeedVideoConfiguration.java
310f381eac558bce069b52fbda9a8aeb83608858 20-May-2015 Chien-Yu Chen <cychen@google.com> Camera2: Implement toString() for camera2 params

Implement toString() for BlackLevelPattern, InputConfiguration, and
StreamConfigurationMap.

Bug: 16899576
Change-Id: Ide1cf103f3282750653ce7bdc29c0b74920d4855
lackLevelPattern.java
nputConfiguration.java
treamConfigurationMap.java
8062d31d27943da4d652878b4c36aeabb8bb8b08 12-May-2015 Chien-Yu Chen <cychen@google.com> Camera2: Fix reprocessing API naming and docs

Rename reprocessible to reprocessable and OPAQUE reprocessing to
PRIVATE reprocessing. Also fix a few broken links in reprocessing
APIs.

Bug: 21044522
Change-Id: I155b62d8743b036bd4b46f0da87749ce4e20b467
nputConfiguration.java
5398a676809faaf3c6c2875edc1907ad6b8e1c89 19-Mar-2015 Chien-Yu Chen <cychen@google.com> camera2: add reprocess support

Add reprocess API and implementation to support creating reprocess
capture sessions, reprocess requests, and receiving reprocess capture
results.

Change-Id: I4c1c02f41d1712f65e729ea3ba09592a27ffe86d
nputConfiguration.java
0a551f1487e00a598b20b1bc58a1ccd7226e7091 04-Apr-2015 Chien-Yu Chen <cychen@google.com> camera2: add reprocess format map

Add reprocess format map to StreamConfigurationMap and add support
for ImageFormat.PRIVATE.

Change-Id: I5dd8ecbbb63231574a9ca4bf27c374b4a220e0ed
treamConfigurationMap.java
1ffaca4414c5c2b73e5aaf085728e3b01ea534c3 06-Apr-2015 Yin-Chia Yeh <yinchiayeh@google.com> Merge "Camera: add equals/hashCode to OutputConfiguration"
456432ead7e262f72565d02ac46fd5e498844b92 06-Mar-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: Wire depth formats into StreamConfigurationMap

Change-Id: I9046b60dca83d090efd9c74c98bfdfebdeae8751
treamConfigurationMap.java
61f15366127752258aea05398c40182c5b174a29 03-Apr-2015 Yin-Chia Yeh <yinchiayeh@google.com> Camera: add equals/hashCode to OutputConfiguration

Bug: 20057354
Change-Id: Ib9c2e26ac4c52c47ccab86a7f25363b164d36eb6
utputConfiguration.java
bfbbee756663aeeb38706bb1bd4841dcd050f91b 12-Mar-2015 Yin-Chia Yeh <yinchiayeh@google.com> Camera: update createStream API to add new rotation field

Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
utputConfiguration.aidl
utputConfiguration.java
49ea6ae76d78ff8d179c0957d4bc55f08cb98d0f 10-Mar-2015 Yin-Chia Yeh <yinchiayeh@google.com> Camera: add @hide API for setting camera rotation

Only adding API header. Haven't filled in implementation.

Change-Id: I99a1c84d194dd20562845a0f566dd10ddb3041b7
utputConfiguration.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
ensShadingMap.java
treamConfigurationMap.java
ac829206a9ce5a98d3ebab5858f302d48db202bf 23-Jan-2015 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: StreamConfigurationMap#isOutputSupportedFor(Surface)" into lmp-mr1-dev automerge: 7fde5e5 automerge: 0ec0465
automerge: 92baed1

* commit '92baed1212dffcae042a33f5575f99d3e00f81c8':
Camera2: StreamConfigurationMap#isOutputSupportedFor(Surface)
fa0b9a00b48394bd9b7e5d54b2b4a5a33d7bd186 20-Jan-2015 Eino-Ville Talvala <etalvala@google.com> Camera2: StreamConfigurationMap#isOutputSupportedFor(Surface)

Add missing implementation.
Also improve docs for flexible Surface sources.

Bug: 19076351
Change-Id: I1f1126a291480dcb68d3dd90825b5994e54dcc99
treamConfigurationMap.java
18be00f77ab6d534d378f09bd254ad397ac10a7a 04-Dec-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: add toString implementation of LensShadingMap

Change-Id: Icecde57e92c2962ed6b1585c0e3fd889b2587736
ensShadingMap.java
b086421b41f1fbe0dfcd14cb38eed0acbddd81d0 12-Sep-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: add toString for TonemapCurve

Bug: 16899576
Change-Id: Id7c08afed8606efc880cc75201287cd70a0e301c
onemapCurve.java
f3621f3a5c5fd16ebedd3ce1ae1b0100d0f64152 26-Aug-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Document supported target combinations for a session.

Since most camera devices cannot support all combinations of target
sizes given the maximum stream counts, enumerate a set of guaranteed
configurations that can be used to create a session.

Also fix minor docs formatting in StreamConfigurationMap

Bug: 16899526
Change-Id: Ic7c94051dd47964f2be98343163ebd242b19bd24
treamConfigurationMap.java
97376d90d660254a934fab7708198d53f03fe2e4 20-Aug-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: add toString for two params classes

Add toString for RggbChannelVector and ColorSpaceTransform.
Also change ColorSpaceTransform equals implementation to actually
compare the underlying rationals.

bug 16963063

Change-Id: I858153b405bc3541959be79962db750d429413a3
olorSpaceTransform.java
ggbChannelVector.java
517b74533afe53c740400bff3b85806884286344 19-Aug-2014 Igor Murashkin <iam@google.com> camera2: Fix StreamConfigurationMap#getOutputSizes for ImageReader

Return empty array since no implementation-defined sizes are supported

Bug: 17007153
Change-Id: I178e89ef6b2640896f8657765beb458022d66ae5
treamConfigurationMap.java
d3b85f69a811113826933c8abf591f20e9b3c8ff 06-Aug-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix session shutdown race, frequent warning log

- Make sure that session.close followed by device.createCaptureSession cannot race on
configureOutputs calls
- Silence warning about RAW_OPAQUE format

Change-Id: I02e4a048e8b26ea61aadcf115b029e9fbb58ad4e
treamConfigurationMap.java
abd9d3c5c7100c45812ee80975ac59f5b1902a71 28-Jul-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: API review updates

- Rename CameraCharacteristics#SENSOR_INFO_TIMESTAMP_CALIBRATION
to TIMESTAMP_SOURCE
- Remove StreamConfigurationMap#NO_MIN_FRAME_DURATION

Bug: 16402755
Change-Id: I6c30a1e931c9f064c22092d362bcc61bd88e2f8a
treamConfigurationMap.java
b0056642cab30647d1f72190d864622bf4728ea0 28-Jul-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: Fix wrong usage of toArray

Change to use "<T> T[]" version of toArray.

Change-Id: I021ed5a4e446b34028810e8acea3395c1c3387e7
treamConfigurationMap.java
12da140082323d9aa048b3e928505a0a2adfdda7 15-Jul-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: add highSpeedVideoConfig wrapper and APIs

- Add wrapper class for highSpeedVideoConfiguration.
- Add APIs to query high speed video recording configurations in
StreamConfigurationMap
- Fix ColorSpaceTransform unit test in CameraMetadataTest
- Fix a bug in HashCodeHelper

Change-Id: I192e57f6ab5dfbba6d958571352f067a9eaec7b2
ighSpeedVideoConfiguration.java
treamConfigurationMap.java
7ee78d1ee3ee068897b9313af2ed6446675c1be0 09-Jul-2014 Igor Murashkin <iam@google.com> camera2: (legacy) Implement AF/AE regions for request and result

* Also stop lying about max AE regions (now reports the truth)

Change-Id: I567a1e6c58ed0bfb77cc09787393ea18eba5d613
eteringRectangle.java
52842e7a6f0e922185db04ae8b91c776a234acf1 05-Jun-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Add BlackLevelPattern class.

Bug: 15448889

- Adds BlackLevelPattern class and marshaller.
- Updates BlackLevelPattern tag to use this class.

Change-Id: I5d3393f4a1695664bc5315eb592fb0a4e154d22e
lackLevelPattern.java
ggbChannelVector.java
08bc3b0f0299a02d00004f4b2886469c1ed75569 09-Jul-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Update capabilities metadata

Change-Id: Ic2dc18f535cbc34a1504a6a746e7f7303fa6e839
treamConfigurationMap.java
3e4fed203fe7c945c53c6d6bb9f160932a1d15b3 19-Jun-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Add shim frame duration and stall characteristics.

Bug: 15116722
Change-Id: Ief8b05d46fa12f63cf6a5d41e312c94d5a033553
treamConfigurationMap.java
e600d6ad60373821472e6338792109fa3103f7e2 09-Jun-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Misc + enum value documentation updates

- Update enum values for many entries
- Reword various sections of documentation for clarity.

Bug: 15475465
Change-Id: I2b03cac8d478e945c7d93717845a9ae44b97639b
treamConfiguration.java
b67a3b36fd569e63c1b8ca6b2701c34c7a3927c1 06-Jun-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Many docs updates

- Improve CameraManager.AvailabilityListener docs
- Fix references to createCaptureSession immediately returning a session
- Remove most docs from deprecated methods, to minimize confusion.
- Remove references to deprecated methods from non-deprecated methods.
- Improve acronym use in metadata keys, and other minor metadata doc fixes.
- Improve package-level docs.

Bug: 15394187
Bug: 15394241
Bug: 15394242
Bug: 15394526

Change-Id: I48de626a33ef9b834578f7bb890de9b98d3122d2
treamConfiguration.java
treamConfigurationMap.java
83a9e4d86407d627f3f6fbf8757d2a389097ab6f 05-Jun-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: Do not hide TonemapCurve construtor

Do not @hide TonemapCurve constructor since it's also a
control key.

bug: 14628001
Change-Id: I17384f42f5c2db2371d1c09030d04a1b9637045e
onemapCurve.java
97f1c854993a65b2c700426a1e3a83b23ea65337 29-May-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: update the range of metering weight

Limit the range of metering weight to 0-1000.

Bug: 15315352
Change-Id: Iceb13b72508cb3c9f758bdcb1b69b6b11ec5aaf8
eteringRectangle.java
884cddcdf46235c1fd205b65623ca7850b607b1c 28-May-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: Fix wrong index in ColorSpaceTransform

Bug: 15309870
Change-Id: I89a043a005435695ac8649e20d4e0e58d0f62bc7
olorSpaceTransform.java
574936894d3044445a272b39f2d925af40ece5d8 28-May-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Update native/managed key mappings.

Switches to using managed value classes for the following keys:
- android.sensor.info.sensitivityRange
- android.sensor.info.exposureTimeRange
- android.jpeg.gpsCoordinates
- android.jpeg.gpsTimestamp
- android.jpeg.gpsProcessingMethod
- android.statistics.lensShadingMap
- android.lens.info.shadingMapSize
Also fixes a minor bug in LensShadingMap

Bug: 14628001
Change-Id: Ia0f541242f529ab9ba3111db799306b198f2b40b
ensShadingMap.java
2bb91a7a68e32530adf730deeef2fe95bad20a96 28-May-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]

Also fix a minor bug in ColorSpaceTransform copying validation.

Affected keys:
android.colorCorrection.transform
android.colorCorrection.gain
android.control.aeAvailableAntibandingModes
android.control.aeAvailableModes
android.control.afAvailableModes
android.control.availableEffects
android.control.availableSceneModes
android.control.availableVideoStabilizationModes
android.control.awbAvailableModes
android.edge.availableEdgeModes
android.hotpixel.availableHotPixelModes
android.lens.info.availableOpticalStabilization
android.noiseReduction.availableNoiseReductionModes
android.sensor.calibrationTransform1
android.sensor.calibrationTransform2
android.sensor.colorTransform1
android.sensor.colorTransform2
android.sensor.forwardTransform1
android.sensor.forwardTransform2
android.statistics.info.availableFaceDetectModes
android.tonemap.availableToneMapModes

Bug: 14628001
Change-Id: Ic0a3ff0aaa6bfe872cf8fb740870618c3eee3008
olorSpaceTransform.java
817f8933ee1c11130ad2ca45b5ac8ce8b729f125 19-May-2014 Yin-Chia Yeh <yinchiayeh@google.com> Camera2: Replace int[] by MeteringRectangle

Bug: 14628001
Change-Id: I8ae4efa24d41043046a84b04e5209259a8a21063
eteringRectangle.java
72f9f0a96e4476ef231d5001cb30521ad4ce5b1e 15-May-2014 Igor Murashkin <iam@google.com> camera2: Move parameters around to different packages

* Camera-specific params to android.hardware.camera2.params
* Remove android.hardware.camera2.Size
* Move Rational to android.util

Bug: 14628001
Change-Id: Ie7a82bf9f4a0d8c18e0dc3a1581123c0d95da3f0
olorSpaceTransform.java
ace.java
ensShadingMap.java
eteringRectangle.java
ggbChannelVector.java
onemapCurve.java
9c595174ccaaf3d36315c4a100e47ee4369073f6 12-May-2014 Igor Murashkin <iam@google.com> camera2: Use StreamConfigurationMap for format/size/duration lookup

* Also @hide/@deprecate a bunch of other keys
* Move some classes into android.hardware.camera2.params

Bug: 14628001
Change-Id: I2db490a0849680a133a901403477a147b004fb28
eprocessFormatsMap.java
treamConfiguration.java
treamConfigurationDuration.java
treamConfigurationMap.java