Commit Graph

26 Commits

Author SHA1 Message Date
Jag Saund
41498278a3 Camera: Low Light Boost AE Mode
Auto-generated file from changes in metadata_definitions.xml

Bug: 312803148
Test: Build Successful
Change-Id: I7e29a6a9351da9fa03cbaea21286ca7fe1aa910f
2023-12-07 17:20:13 +00:00
Dario Freni
7fb2fbdd75 Revert "Camera: Low Light Boost AE Mode"
Revert submission 25492993-low-light-boost-control

Reason for revert: b/314882897 breaking tests

Reverted changes: /q/submissionid:25492993-low-light-boost-control

Change-Id: I88c0401ee4881a79591fda76bd8c958d7e49b3cd
2023-12-05 12:23:06 +00:00
Jag Saund
7e04ebd3fb Camera: Low Light Boost AE Mode
Auto-generated file from changes in metadata_definitions.xml

Bug: 312803148
Test: Build Successful
Change-Id: I0f30fd37c03b0e518ecccaf5b7bf5750d4212a7f
2023-12-05 00:06:09 +00:00
Jayant Chowdhary
0215d98751 Merge "camera: Add support for toggling HAL buffer manager as a result of session configuration" into main 2023-12-04 20:55:07 +00:00
Emilian Peev
9e21e0f74a Camera: Add physical camera crop metadata tag
Allow CameraHal implementations to report the physical
camera source crop.
Additionally extend the capture results with
intra-frame lens intrinsics samples.

Bug: 297083874
Test: atest VtsAidlHalCameraProvider_TargetTest
Change-Id: Ib2ad0a3b8f51813dc1aaa52f110a2946ab8787ce
2023-12-01 02:46:08 +00:00
Jayant Chowdhary
644676a583 camera: Add support for toggling HAL buffer manager as a result of session configuration
Currently, whether the HAL buffer manager is used or not is decided
based on the presence of a static camera characteristics key -
ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION. This behavior cannot
be toggled depending on stream configuration / session parameters.

The HAL buffer manager does reduce memory consumption at the cost of
extra IPC calls, which may not be always desirable.

Therefore, a new API - 'configureStreamsV2()' is introduced to give the
camera HAL the ability to inform the camera framework whether it must
use the HAL buffer manager for the particular session configured.

Bug: 311263114

Test: VtsAidlHalCameraProvider_TargetTest on cuttlefish
Test: builds

Change-Id: Ibce6d64c3c9cc8e0ebc40522369291d03053cce2
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2023-12-01 00:59:01 +00:00
Rucha Katakwar
5d0f9d16e3 Camera: Flash strength control during camera use.
Auto-generated file from changes in metadata_definitions.xml

Bug: 238348881
Test: Build Successful
Change-Id: Ic6aec9b2135b0b2a2d24d8204900b8bad52d6725
2023-09-20 11:43:03 -07:00
Alex Buynytskyy
ec1198d941 UpsideDownCake is now 34
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Austin Borger
cf9118c283 Camera AIDL: Remove unsupported color space enums.
Bug: 273961103
Test: Presubmit
Change-Id: I349db6968b33024e34facf204b4638c73f4d242d
2023-03-16 10:35:20 -07:00
Jayant Chowdhary
2b251bbaa4 Merge "Camera: Add metadata support for cropped RAW streams." 2022-12-22 00:56:01 +00:00
Emilian Peev
8000869cb3 Camera: Add Jpeg/R stream configuration metadata
Bug: 241284696
Test: Camera CTS
Change-Id: If78cba575e3b771f5b7d49c78d50b0ca2c76744f
2022-12-16 11:09:21 -08:00
Jayant Chowdhary
de1909e865 Camera: Add metadata support for cropped RAW streams.
Bug: 247524520

Test: Camera CTS
Test: Camera VTS

Change-Id: Ie50359aca3fbbd6088e2e1525cca85c7d5eb0ad0
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-12-09 23:44:41 +00:00
Emilian Peev
a67db85ec4 Camera: Add extension specific metadata section
Bug: 257136838
Test: Camera CTS
Change-Id: Iba2432b6ccec37c901a3e0b340e019e30c12fbf6
2022-11-30 15:27:44 -08:00
Shuzhen Wang
4dd6a516a6 Camera: Add new camera metadata for settings override frame number
Add a frame number field in HAL capture result metadata to indicate
the frame number of newer request overriding this capture.

This is needed so that ZoomRatioMapper can look up the newer request's
zoom ratio.

Also add VTS test for transition between OFF and ZOOM.

Test: Camera VTS on cuttlefish
Bug: 239822823
Change-Id: I7439950cdb9f346bf36c4cc872fd7865eb9cf669
2022-11-17 00:42:57 +00:00
Bharatt Kukreja
cbbc870ba8 Camera: Add autoframing API
The new API can be used to keep objects in the frame's fov.
Auto-generated file from changes in metadata_definitions.xml

Bug: 234004829
Test: Successful build
Change-Id: I68b1c38a67427aba3fa0ef9f21fb526199953682
2022-11-07 18:38:54 +00:00
Bharatt Kukreja
ab80f9f5a0 Camera: Add settings override API
The new API can be used to speed up certain controls (such as
zoom) with capture request.

Auto-generated file from changes in metadata_definitions.xml

Bug: 239822823
Test: Successful build
Change-Id: I73faf396e8e050b4fda19c013a1542cc03b9af08
2022-10-25 02:52:47 +00:00
Austin Borger
4728fc48cc Create API for reporting color space support to Camera2 framework consumers.
Test: Ran CtsCameraTestCases.
Test: Ran VtsAidlHalCameraProvider_TargetTest.
Test: Created app to test display P3 camera, switching between color spaces
Bug: 238359088
Change-Id: I382dea5d13582817959001246240141e83d8172d
2022-10-21 11:01:18 -07:00
Jiyong Park
703e97920e Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
Austin Borger
c31af39ecb Update AIDL files accidentally diverged from HIDL / libcamera_metadata.
Bug: 222124945
Test: Built android.
Change-Id: Iadec82bdb792f00ba475e07b5b62b363c5f56586
2022-03-18 19:11:29 +00:00
Shuzhen Wang
36efa7161a Camera: Increase bit depth of stream use case to 64
Test: Camera CTS
Bug: 223387965
Change-Id: I23a4324602ed37cf38c7a1a34dade615c4adb72b
2022-03-09 22:57:40 +00:00
Jayant Chowdhary
54d7fb5029 Add automotive related keys to AIDL.
This CL adds a new automotive metadata section with below fields:
- AUTOMOTIVE_LOCATION describes where the camera exists.
- AUTOMOTIVE_LENS_FACING tells where the camera's lens is facing toward.

These were added to the temporary HIDL interface but not AIDL.

Bug: 223262543

Test: build

Change-Id: Id074c6878690767c89792f867a7754ae8193405d
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-03-08 21:51:55 +00:00
TreeHugger Robot
0bd7074e39 Merge "Camera: Use 64bit integers for dynamic range profile values" into tm-dev 2022-02-24 00:27:29 +00:00
Emilian Peev
4ce76d242c Camera: Use 64bit integers for dynamic range profile values
Additionally extend the dynamic range profile map to include
hints about extra lookahead latency.

Bug: 215396395
Test: Camera CTS
Change-Id: I600a3147d94a9aad1a312b92aacee014c05db16f
2022-02-23 00:26:22 +00:00
Jayant Chowdhary
cb4853941b camera: Address ANAPIC review comments and additional cleanup
Bug: 218911443

Test: build

Change-Id: Ia6d3f4d73e9ff29fa5fca2e11e0b9cb5a8d1e2ac
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-22 23:35:25 +00:00
Jayant Chowdhary
9ca871ae24 Add stream use cases to camera aidl interfaces.
Bug: 196432585

Test: build

Change-Id: I1b2628056949d05aa553bdbba7983628ec54d65b
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-05 15:37:56 -08:00
Jayant Chowdhary
33e7fef887 Add AIDL interfaces for camera metadata.
Bug: 196432585

Test: build; Implementation will be submitted later.

Change-Id: I1fe9488bb34ef5c0a755d7bb8f284cc1fbc8f298
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-04 07:53:30 -08:00