dantmnf / PseudoDCDimming

Mozilla Public License 2.0
29 stars 3 forks source link

Pseudo DC Dimming

简体中文 | 下载最新版本

Enable alternative dimming mode (likely DC-like) on low brightness for some OLED displays by using software brightness gain.

Requires Android 12+ and Xposed-compatible framework.

Download latest release

How it works

By limiting the minimum brightness and scaling down the output signal through a degamma-gain-regamma transform, the actual display brightness matches the expected brightness while maintaining a higher PWM frequency and duty cycle.

details

Limitations

Configuration

Use the high-speed shutter mode of the camera to amplify the stroboscopic effect, or use professional instruments to measure the PWM frequency and duty cycle. Choose an acceptable brightness value as the minimum hardware brightness.

Acknowledgements

Inspired from ztc1997/FakeDCBacklight. This project additionally implements immediate application as well as stabilizing the brightness before and after enabling.