sm6150-common: Opt out of VIDEO_ENCODE flag for DeviceAsWebcam

DeviceAsWebcam is using USAGE_VIDEO_ENCODE [1] for buffers and
this results in combined usage: (VIDEO_ENCODER | CAMERA_OUTPUT).

On Qcom devices DeviceAsWebcam has red & blue colors swapped.

Originally we tried swapping HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS
with HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS in libgrallocutils,
however that inverted regular camera recording colors in some cases.

[1] d079a82ba4

Change-Id: I6c5f03fe7016f687855351c7ba15270050ea02e2
Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
Alexander Koskovich
2025-04-25 22:55:54 -04:00
committed by therealmharc
parent f85f0d8b63
commit 561ef31407

View File

@@ -242,6 +242,7 @@ suspend.short_suspend_backoff_enabled=true
persist.rcs.supported=1
# USB
ro.usb.uvc.disable_video_encode_flag=true
ro.usb.uvc.enabled=true
sys.usb.mtp.batchcancel=1
vendor.usb.controller=a600000.dwc3