mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
rosemary: Hexpatch camera lib to increase maximum JPEG streams for an app
* Increase maxAppJpegStreamNum to 17 in order to fix GCam lags. Change-Id: I190a2c39e406e0a8389a7bf29b420ef4f2352e2d
This commit is contained in:
committed by
Matsvei Niaverau
parent
c007cdcb64
commit
e76dccff1a
@@ -74,6 +74,10 @@ function blob_fixup {
|
|||||||
vendor/lib64/libwifi-hal-mtk.so)
|
vendor/lib64/libwifi-hal-mtk.so)
|
||||||
"$PATCHELF" --set-soname libwifi-hal-mtk.so "${2}"
|
"$PATCHELF" --set-soname libwifi-hal-mtk.so "${2}"
|
||||||
;;
|
;;
|
||||||
|
vendor/lib64/libmtkcam_featurepolicy.so)
|
||||||
|
# evaluateCaptureConfiguration()
|
||||||
|
sed -i "s/\x34\xE8\x87\x40\xB9/\x34\x28\x02\x80\x52/" "$2"
|
||||||
|
;;
|
||||||
vendor/lib64/libmtkcam_stdutils.so)
|
vendor/lib64/libmtkcam_stdutils.so)
|
||||||
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
|
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user