History log of /hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
090872abcfd780f5ab497515ba243ad3c0874816 18-May-2018 Yin-Chia Yeh <yinchiayeh@google.com> Camera: use compact copy when necessary

When camera HAL sends redundant metadata (reserved space >> actual
used space), create a compact copy to save IPC overhead.

Test: Camera CTS/camera app smoke test
Bug: 79838637
Change-Id: I02657deb377c43c65d111d1fc894eb3c20ad3b8f
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
59dd3df9eb82ee42661172870cbf0e2dd62cf9b5 03-May-2018 Emilian Peev <epeev@google.com> Camera: Set partial results in result batcher

Camera device session 3.4 has a separate result batcher
instance. The partial result count needs to get initialized
in the same way as ver. 3.2 otherwise the frame batches can
get retired prematurely.

Bug: 79106874
Test: Camera CTS,
run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I36bfb5bc448154f80f4cb94edcfd119048361099
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
448b7e398afd63aa00b5dd10a209254fea91946c 30-Mar-2018 Shuzhen Wang <shuzhenwang@google.com> Camera: Validate physical camera related metadata field from legacy HAL

Make sure that num_physcam_metadata, physcam_ids, and physcam_metadata
returned from process_capture_result is sane.

Test: LogicalCameraDeviceTest
Bug: 77218595
Change-Id: Ic4d9823569fb86b20ab2ab21edfc32a0e9f5c9c7
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
17d817a889da6be3f77da83ef0b3547461b4a6a6 10-Mar-2018 Shuzhen Wang <shuzhenwang@google.com> Camera: Do not forward capture_result in error condition

If HAL calls process_capture_result with invalid buffers, the HIDL
wrapper shouldn't forward it to camera service, since the CaptureResult
structure may not be completely initialized.

Test: Run GoogleCamera
Bug: 74433802
Change-Id: Iaf20b542af5b11ffbedf709e99137b69d77a9ad3
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
3aa9ae979c4250afa58572ef04671d905d9e4f74 24-Feb-2018 Yin-Chia Yeh <yinchiayeh@google.com> Camera: add external camera fps control

V4L2 doesn't seem to allow changing fps at runtime, so we need to
wait until pipeline is idle and reconfigure V4L2 streams.

Also update the fps filtering logic to make sure supported fps
are consistent as long as the major dimension is the same.
Ex: for 4:3 webcams, all 1280*N sizes has the same fps set, or
for 16:9 webcams, all N*720 sizes has the same fps set.

Bug: 72261912
Change-Id: I534f09bebadb2f532a030a841633a8be7d3a87cc
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
9c14496f2c5ea5fac6a7c69f0082bfbbdd544c7c 14-Feb-2018 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Camera: Add support for empty physical settings optimization"
0a2a9fc18cdbf318b1f9312074084cbd16595ede 06-Feb-2018 Eino-Ville Talvala <etalvala@google.com> camera.device@3.4/metadata@3.3: Revise MOTION_TRACKING capability

Simplify the API for the P release

- Remove new templates
- Update docs
- Also update some metadata docs from prior changes

Test: Revised Camera CTS passes
Bug: 63629224
Change-Id: I47fb170052cf6062955278ace624a91e8a0078b3
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
e0c52bb1f049a7027c93024a284d64c97f80509c 05-Feb-2018 Emilian Peev <epeev@google.com> Camera: Add support for empty physical settings optimization

Empty individual physical settings should be allowed after
one initial successful request.

Bug: 72524845
Test: run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I18d22a56f5f0e6e1d81a6e8c844697c02bc343a1
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
39cf8fd9fe587e39b44e1ed63171c6eb5049f2df 30-Dec-2017 Shuzhen Wang <shuzhenwang@google.com> camera: Add physical camera metadata in CaptureResult

- When physical stream of a logical multi-camera is requested, HAL needs
to generate metadata for the physical cameras.
- In case no physical stream is requested for the logical multi-camera, no
capture result metadata is required for physical camera.
- Batch physical and logical metadata within one capture_result call.

Test: testLogicalCamera CTS test
Bug: 64691172
Change-Id: Id040620f3f0c350711d49341ab31ab88ecd94888
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
658d30d3c84bf656032adcd7bc7bf5e82e8203e1 18-Jan-2018 Eino-Ville Talvala <etalvala@google.com> camera.device@3.4: Add MOTION_TRACKING template enums

- Extend RequestTemplate with two new values
- Add legacy wrapper support for the new templates

Test: Builds, camera continues to run. CTS coverage of templates
tests new templates as expected.
Bug: 63629224
Change-Id: I2a44d86a815690798fa4b8327794c64716d134ee
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
b75aa350e71b0c7dc59c4d51420a37608577a650 17-Jan-2018 Emilian Peev <epeev@google.com> camera: Add support for individual physical camera requests

Multi-camera devices should be able to accept and process
individual settings for all physical sensors backing the
logical camera. 'CaptureRequest' must be extended to hold
these additional physical camera settings.

Test: Manual using camera application,
camera_client_test,
run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO
Bug: 64691172
Change-Id: Ia38d1e7681a9385be7578c11e40f4e35e9101d75
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
82e36b3f8cf13aef95d4746fbf8d6803b1174482 29-Nov-2017 Shuzhen Wang <shuzhenwang@google.com> camera: Add support for logical camera

- Add physical cameraId field in stream structure.
- Override processCaptureRequest due to physicalCameraId change.
- Update 3.3 metadata with logical camera characteristics.

Test: Camera CTS on Taimen, LogicalCamera CTS test on C1
Bug: 64691172
Change-Id: I65bd1ae38381ecb89fae439ae14b813c9bcc3248
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp
e18057b42f1698f33f34d14e86a53934bd337bb8 13-Nov-2017 Emilian Peev <epeev@google.com> Camera: Bump device version to 3.4

Camera devices supporting version 3.4 will be able to receive
session parameters during the stream configuration phase.

Bug: 64450664
Test: Camera CTS
run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

Change-Id: Ifd83bfe0e512fe75b63602b4aba98f4cc1cdeb53
/hardware/interfaces/camera/device/3.4/default/CameraDeviceSession.cpp