John Galt
cff093c1e3
sm6150-common: camera: Cap max_brightness
...
* Our maximum brightness is 500.
* However, for safety related reason, I have capped this to 255.
* 255 is more than sufficient, and I do not want to be responsible for LED damage.
* Finding the default percentage took some trial and error, in this case, 59% correlated to 75.
Co-authored-by: rahul <rahul@aospa.co >
Change-Id: Ie20969362c531391e4c51b22365b74d62ccb8e5e
Signed-off-by: John Galt <johngaltfirstrun@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
John Galt
1df19d885b
sm6150-common: camera: set saner values
...
80 was default for torch, so set 80 as default.
Change-Id: I6711c8a77ed04f01a9afeff14325e62404f66ff7
Signed-off-by: John Galt <johngaltfirstrun@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
John Galt
e04e71b5a8
sm6150-common: camera: Add enabled bool for finished workarounds
...
Change-Id: Iede122113f17789cdf88896cb32bc30f574ec54f
Signed-off-by: John Galt <johngaltfirstrun@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
bengris32
1037de338f
sm6150-common: camera: Implement setTorchModeExt
...
Change-Id: Id61420be75b7efd1d13a4b0ee1d103ebd3835516
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
bengris32
a04743d19c
sm6150-common: camera: Implement supportsSetTorchModeExt
...
Change-Id: I2ec2f4a30723763e6123a1b742468752f38e3d2f
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
Dhina17
eeaa8481ee
sm6150-common: Implement torch light control
...
[RealJohnGalt:] modify for oneplus usage, add toggle switch
[cyberknight777]: Adapt nodes and SEPolicy for sunny
Change-Id: I8ff5d814-d58d-4ed1-9b42-b025415a5c85
Signed-off-by: Dhina17 <dhinalogu@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:45 +00:00
Arian
3f2881cb07
sm6150-common: Move to common libpiex_shim
...
Change-Id: I5266fe4b7cfd108c19b493bc2941097777b29f0a
2022-11-14 22:23:25 +01:00
Arian
2a63fa8cff
sm6150-common: Improve camera shim
...
Change-Id: Id11965102d7d5dce50f989c99810cda6a43aa1ec
2022-11-14 22:23:05 +01:00
daniml3
c4f19714f0
sm6150-common: Add GetPreviewImageData shim for camera
...
Signed-off-by: daniml3 <daniel@danielml.dev >
Change-Id: Iad9d37b992775b6d7b9b52ed4637c70fd13ede7f
2022-08-19 17:28:21 +02:00
Adithya R
28ff150926
sm6150-common: Get rid of megvii shim
...
This reverts commit ab51fafbdd .
Change-Id: I9c82f84ad4bd9edc0ee4a8c1742b4a3aaf4bd0a3
2021-06-18 18:34:00 +02:00
kazerine
ab51fafbdd
davinci: Get rid of megvii dependencies in camera.qcom.so
...
Change-Id: I97058c320d06819a468ebe38e2704360e9aa91db
Signed-off-by: Arian <arian.kulmer@web.de >
2020-11-28 18:12:01 +01:00