Commit Graph

16 Commits

Author SHA1 Message Date
Hao Chen
a15abfc0bd Video Emulated Stream
Test: Build and Run on CVD
Bug: 277861838
Change-Id: I5a1db063cae505a7e7d75b97bea7f14857da5a1e
2023-11-09 01:32:59 +00:00
Hao Chen
e04a700d86 Use EvsCamera as the base of EvsMockCamera
Test: Build and run (mock) evs_app tests
Bug: 300533205
Change-Id: I8e43c5879dee9942c27d69cdfb3012d35b123441
2023-09-25 20:32:10 +00:00
Hao Chen
224446bcad Add EVS Video Emulated Camera Class
Test: Build
Bug: 277861838
Change-Id: Ic9ce648b857eddefccc24065397af5b2056426c7
2023-09-22 21:53:52 +00:00
Hao Chen
0d14a8297b Hanlding Streams and States
Test: Build && `atest android.hardware.automotive.evs-aidl-default-service_cam_state_test`
Bug: 277861838
Change-Id: Idd8fe8e76876dfd93a177d3529ccf118b626001d
2023-09-22 21:38:20 +00:00
Hao Chen
5ed789cd71 Add EvsCamera Class and Buffer Manipulation
Test: Build and `atest android.hardware.automotive.evs-aidl-default-service_cam_buffer_test`
Bug: 277861838
Change-Id: I28218f8e22e7daca3d8ce0bbec64c054a4462564
2023-09-21 23:40:02 +00:00
Treehugger Robot
317e9d4e22 Merge changes I2ca96002,I8f9c076e into main
* changes:
  Add the abstraction layer for the camera classes
  Add EVS Camera Device Type to the Default Implementation
2023-09-15 00:21:34 +00:00
Hao Chen
c5d5d7565d Add the abstraction layer for the camera classes
Test: Build
Bug: 277861838
Change-Id: I2ca960022916ef5db2896625208e74d4c0db5d36
2023-09-14 22:19:48 +00:00
Hao Chen
02a1825028 Add EVS Camera Device Type to the Default Implementation
Test: Build
Bug: 277861838
Change-Id: I8f9c076e0d03f541587015c71aeb8a9335d37733
2023-09-14 22:19:13 +00:00
Changyeon Jo
130d5a3aa0 Update the default EVS HAL implementation
Remove H2BGraphicBufferProducer usages from the default EVS HAL
implementation.

Bug: 297601247
Bug: 298091684
Test: Run evs_app on the cuttlefish emulator.
Change-Id: Ibca21d8e9cf87deb79c0050f9adcf02b5f16d34b
2023-08-31 13:12:39 -07:00
Hao Chen
ac8e696207 Uprev the EVS AIDL NDK Version
Bug: 262779341
Test: build
Change-Id: I39d2e6b969db11b03d4e1fe929b19d65f75e72ff
2023-03-29 15:50:00 -07:00
Changyeon Jo
c9e4122f5b Implement incomplete or missing IEvsCamera methods
This CL completes IEvsCamera interface implementation by adding
following methods to a default AIDL EVS HAL implementation.
- IEvsCamera::importExternalBuffers()
- IEvsCamera::getIntParameterRange()
- IEvsCamera::setIntParameter()
- IEvsCamera::getIntParameter()

Fix: 275101894
Test: 1. Launch CVD in accelerated graphics mode (gfxstream).
      2. atest VtsHalEvsTargetTest --iteration 3
Change-Id: I70ed2a97f49d27146ce00cdaab9ca3f41a59fc98
2023-03-27 18:19:51 +00:00
Changyeon Jo
7e62631ea4 Revert "Revert "Add default implementation of AIDL EVS interface""
This reverts commit d12e05929a.

Bug: 218588089
Test: 1. Build cf_x86_64_auto lunch target.
      2. Launch cvd in the accelerated graphics mode.
      3. atest VtsHalEvsTargetTest and confirm that EVS HAL
         implementation passes all test cases except
         CameraStreamExternalBuffering that is not supported yet in new
         implementation.
      4. Run evs_app and confirm the color bar pattern is shown on the
         display.
         > adb root && adb shell evs_app --test
      5. Do the same on sdk_car_x86_64 lunch target.
Change-Id: I4647d0ef7a2bd98fdfcb3833bfb060b4063bc42e
2023-03-24 21:03:12 +00:00
Kevin Han
d12e05929a Revert "Add default implementation of AIDL EVS interface"
Revert submission 21585493-b218588089

Reason for revert: b/273324345

Reverted changes: /q/submissionid:21585493-b218588089

Change-Id: I2826a16105f8e7b03f852f9babffb03d78d53fd0
2023-03-13 21:18:28 +00:00
Changyeon Jo
20dbc58c25 Add default implementation of AIDL EVS interface
This implementation is used for the emulators.

Bug: 218588089
Bug: 270753093
Test: 1. Build cf_x86_64_auto lunch target
      2. Launch cvd in the accelerated graphics mode
      3. Run evs_app and confirm the color bar pattern is shown on the
         display.
         > adb root && adb shell evs_app --test
Change-Id: I8179e74fc9f0b9547316368fca507e5c62ca5680
2023-03-11 01:51:13 +00:00
Changyeon Jo
13d1d10666 Fix a data type of the display ID
The valid display ID ranges from 0 to 255 so this changes its data type
from a 8-bit signed integer to 32-bit signed integer.

Bug: 170401743
Test: Successful build
Change-Id: Ic4cb38d2d0446e169652689a3d3c71f1d7240455
2022-01-27 21:32:28 -08:00
Changyeon Jo
80189011ca Add Stable AIDL version of EVS HAL
This CL add a new set of EVS APIs written in Stable AIDL with an empty
IEvsEnumerator implementation.

Bug: 170401743
Bug: 195672428
Bug: 202031799
Bug: 202669715
Test: m -j
Change-Id: I28ff4391ba51b72299ebfae801d21a8ab0e37917
2022-01-18 08:59:19 -08:00