mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
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:
committed by
therealmharc
parent
f85f0d8b63
commit
561ef31407
@@ -242,6 +242,7 @@ suspend.short_suspend_backoff_enabled=true
|
|||||||
persist.rcs.supported=1
|
persist.rcs.supported=1
|
||||||
|
|
||||||
# USB
|
# USB
|
||||||
|
ro.usb.uvc.disable_video_encode_flag=true
|
||||||
ro.usb.uvc.enabled=true
|
ro.usb.uvc.enabled=true
|
||||||
sys.usb.mtp.batchcancel=1
|
sys.usb.mtp.batchcancel=1
|
||||||
vendor.usb.controller=a600000.dwc3
|
vendor.usb.controller=a600000.dwc3
|
||||||
|
|||||||
Reference in New Issue
Block a user