-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
...caas/device/intel/project-celadon/caas/0001-mixin-up-diff-for-including-multicamapp.patch
This file was deleted.
Oops, something went wrong.
60 changes: 60 additions & 0 deletions
60
bsp_diff/caas_cfc/device/intel/mixins/0001-Include-VHAL-for-camera.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
From 8fbc303f1bb9e9d4f101d4af69669a01ce4ed359 Mon Sep 17 00:00:00 2001 | ||
From: gkdeepa <[email protected]> | ||
Date: Tue, 24 Aug 2021 08:04:00 +0530 | ||
Subject: [PATCH] Include VHAL for camera | ||
|
||
legacy hal inclusion | ||
properties declaration | ||
product package inclusion for libs | ||
|
||
Tracked-On:OAM-99722 | ||
Signed-off-by: gkdeepa [email protected] | ||
--- | ||
groups/camera-ext/ext-camera-only/product.mk | 17 +++++++++++++++-- | ||
groups/device-specific/caas_cfc/manifest.xml | 1 + | ||
2 files changed, 16 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/groups/camera-ext/ext-camera-only/product.mk b/groups/camera-ext/ext-camera-only/product.mk | ||
index 815464c..84cb4ad 100644 | ||
--- a/groups/camera-ext/ext-camera-only/product.mk | ||
+++ b/groups/camera-ext/ext-camera-only/product.mk | ||
@@ -5,9 +5,22 @@ PRODUCT_COPY_FILES += \ | ||
|
||
# External camera service | ||
PRODUCT_PACKAGES += [email protected] \ | ||
+ [email protected]_64 \ | ||
[email protected] | ||
+#VHAL camera | ||
+PRODUCT_PACKAGES += camera.$(TARGET_BOARD_PLATFORM) \ | ||
+ camera.$(TARGET_BOARD_PLATFORM).jpeg | ||
|
||
+PRODUCT_PROPERTY_OVERRIDES += ro.vendor.remote.sf.fake_camera ="both" \ | ||
+ ro.vendor.camera.in_frame_format.h264=false \ | ||
+ ro.vendor.camera.in_frame_format.i420=true \ | ||
+ ro.vendor.camera.decode.vaapi=false \ | ||
+ ro.vendor.remote.sf.back_camera_hal= \ | ||
+ ro.vendor.remote.sf.front_camera_hal= \ | ||
+ ro.vendor.camera.transference="VSOCK" \ | ||
+ vendor.camera.external="VHAL" | ||
+#removing not required apps | ||
# Only include test apps in eng or userdebug builds. | ||
-PRODUCT_PACKAGES_DEBUG += TestingCamera | ||
+#PRODUCT_PACKAGES_DEBUG += TestingCamera | ||
|
||
-PRODUCT_PACKAGES += MultiCameraApp | ||
+#PRODUCT_PACKAGES += MultiCameraApp | ||
diff --git a/groups/device-specific/caas_cfc/manifest.xml b/groups/device-specific/caas_cfc/manifest.xml | ||
index 499945f..5a41ab8 100644 | ||
--- a/groups/device-specific/caas_cfc/manifest.xml | ||
+++ b/groups/device-specific/caas_cfc/manifest.xml | ||
@@ -149,6 +149,7 @@ | ||
<interface> | ||
<name>ICameraProvider</name> | ||
<instance>external/0</instance> | ||
+ <instance>legacy/0</instance> | ||
</interface> | ||
</hal> | ||
<hal format="hidl"> | ||
-- | ||
2.17.1 | ||
|