summaryrefslogtreecommitdiff
path: root/automotive/evs/1.1/default/ConfigManager.cpp
AgeCommit message (Collapse)Author
2022-01-30Update a default HIDL EVS HAL implementationChangyeon Jo
This CL modifies a default implementation of HIDL EVS HAL v1.1 to properly emulate IEvsCamera and generate a test pattern (SMPTE color bars) on the cuttlefish. Bug: 147743625 Test: launch_cvd --gpu_mode=gfxstream && atest VtsHalEvsV1_1TargetTest Change-Id: I36b141c250efcc27e9a455d504fe897c69349ad9
2020-01-04Prerequsite changes for EVS multi-camera supportChangyeon Jo
This change modifies existing methods and data types for upcoming EVS multi-camera support. - deliverFrame_1_1() and doneWithFrame_1_1() are modified to take multiple buffer descriptors. - setIntParameter() and getIntParameter() are changed to return multiple parameter values. - Device ID and timestamp fields are added to BufferDesc. - EvsEvent is renamed as EvsEventDesc and Device Id is added. Bug: 142275664 Test: VtsHalEvsV1_1TargetTest Change-Id: I0415b2cb0642d1377f4d23a4e154080a66c81187 Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-10-12Explictly cast size_t into a long data typeChangyeon Jo
This change explictly casts size_t type variables to long data type in ALOG*, to avoid any build error due to inconsistent size_t type declarations between different build targets. Bug: 142545867 Change-Id: I587c7006a6ab69970b3a507a6160b3decd4bfd5a Signed-off-by: Changyeon Jo <changyeon@google.com>
2019-10-12Revert "Revert "Revert "Revert "Extend EVS interfaces and data types""""Changyeon Jo
This reverts commit 468cc1d476ae4a78787e0730cac8cf53e1806ed1. Change-Id: If7e80111213ba02bf2c49f17f9880cd9cd14429e
2019-10-12Revert "Revert "Revert "Extend EVS interfaces and data types"""Changyeon Jo
This reverts commit 47b45af32cdea1788a1fd3e316f97d89aeddac2b.
2019-10-11Revert "Revert "Extend EVS interfaces and data types""Changyeon Jo
This reverts commit 1b73d28c04d250b581860dde082cf92c366371dc.
2019-10-11Revert "Extend EVS interfaces and data types"Changyeon Jo
This reverts commit e6976fce80a9a0951c6bc6f668b2de032ccc4d34.
2019-10-11Extend EVS interfaces and data typesChangyeon Jo
This change extends the definition of CameraDesc with the additional camera metadata field that various camera module informaiton will be stored. IEvsEnumerator is extended with three new methods: - getCameraList_1_1() returns a list of new camera descriptors - openCamera_1_1() tries to open a camera device with a given stream configuration. IEvsCameraStream has below changes: - deliverFrame_1_1() method is added to handle a frame in new BufferDesc. - Rename notifyEvent() as notify(). IEvsCamera also has below new methods: - getCameraInfo_1_1() returns a new camera descriptor. - getParameterList() returns a list of camera control parameters supported by the camera device. - getIntParameterRange() returns a valid range of parameter values. - Parameter setter and getter methods are renamed. VTS test cases are updated to use new methods and below test cases are added to validate their behaviors: - CameraUseStreamConfigToDisplay verifies end-to-end video stream with a stream configuration it finds from CameraDesc's metadata. - MultiCameraStreamUseConfig verifies two clients can start and stop video streams on the same underlying camera with same stream configuration. Bug: 128851019 Test: VtsHalEvsV1_1Target Change-Id: Ia6b0b94aff869129cb400d0a4c4df91e72682784 Signed-off-by: Changyeon Jo <changyeon@google.com>