ferrari: Treat Aperture as the system camera

The camera HAL gives multi-frame noise reduction only to the package
named in the PackageName Group's SystemCamera key. Every other client
gets a JPEG encoded from a single preview frame:

  IPE ... pipeline:JPEGEncodePreviewMctfOplus_IPE19_cam0

With Aperture listed, the same capture is blended from eight frames on
every lens:

  IPE ... pipeline:MfsrPrefilter_IPE0_cam0
  IPE ... pipeline:MfsrBlend_IPE1_cam0 (x7)
  IPE ... pipeline:MfsrPostFilter_IPE3_cam0

The key holds a single package, so the Oplus camera app loses it.

Assisted-by: LLM
Change-Id: I4c644c7895340a12b2f738f48792352baa12eeea
This commit is contained in:
pjgowtham committed 2026-11-23 22:27:53 +05:30
1 parent 271e8669b6
commit 4bb7af2fc9
1 file changed
+2 -1
+2 -1
View File
@@ -78,7 +78,8 @@ blob_fixups: blob_fixups_user_type = {
.replace_needed('android.hardware.biometrics.common-V1-ndk_platform.so', 'android.hardware.biometrics.common-V1-ndk.so')
.replace_needed('android.hardware.biometrics.fingerprint-V1-ndk_platform.so', 'android.hardware.biometrics.fingerprint-V1-ndk.so'),
'odm/etc/camera/CameraHWConfiguration.config': blob_fixup()
.regex_replace('SystemCamera = 0; 0; 1; 1; 1', 'SystemCamera = 0; 0; 0; 0; 1'),
.regex_replace('SystemCamera = 0; 0; 1; 1; 1', 'SystemCamera = 0; 0; 0; 0; 1')
.regex_replace('SystemCamera = com.oplus.camera', 'SystemCamera = org.lineageos.aperture'),
'odm/lib64/libAlgoProcess.so': blob_fixup()
.replace_needed('android.hardware.graphics.common-V2-ndk_platform.so', 'android.hardware.graphics.common-V7-ndk.so'),
('odm/lib64/libCOppLceTonemapAPI.so', 'odm/lib64/libSuperRaw.so', 'odm/lib64/libYTCommon.so', 'odm/lib64/libaps_frame_registration.so'): blob_fixup()