Files
android_device_realme_ferrarri/configs/display/displayconfig.xml
T
pjgowtham ba03f295ac ferrari: displayconfig: Map brightness from the stock panel table
Two points, 2 to 800 nits, are linear in the backlight level, but the
panel isn't: at backlight 1000 it gives 253 nits, not the 196 the map
assumes, and it tops out at 789 nits. Take the points from the S6E3HC3
table stock uses, display_brightness_config_samsung1024.xml, so auto
brightness reaches the nits it asks for. The points keep the error
within 2.5% above the darkest levels.

Assisted-by: LLM
Change-Id: I5d38144e0219ff11e4e8a8ad315111052f565eaa
2026-11-23 22:27:53 +05:30

92 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<displayConfiguration>
<densityMapping>
<density>
<height>2412</height>
<width>1080</width>
<density>450</density>
</density>
<density default="true">
<height>3216</height>
<width>1440</width>
<density>600</density>
</density>
</densityMapping>
<screenBrightnessMap interpolation="linear">
<point>
<value>0.00097680097</value>
<nits>2.094</nits>
</point>
<point>
<value>0.00366300366</value>
<nits>3.719</nits>
</point>
<point>
<value>0.00537240537</value>
<nits>5.456</nits>
</point>
<point>
<value>0.00854700855</value>
<nits>8.946</nits>
</point>
<point>
<value>0.01489621490</value>
<nits>15.075</nits>
</point>
<point>
<value>0.02222222222</value>
<nits>22.163</nits>
</point>
<point>
<value>0.08034188034</value>
<nits>80.734</nits>
</point>
<point>
<value>0.16532356532</value>
<nits>174.364</nits>
</point>
<point>
<value>0.50036665851</value>
<nits>502.969</nits>
</point>
<point>
<value>0.80219780220</value>
<nits>687.653</nits>
</point>
<point>
<value>0.96971916972</value>
<nits>788.394</nits>
</point>
<point>
<value>1.0</value>
<nits>789.124</nits>
</point>
</screenBrightnessMap>
<highBrightnessMode enabled="true">
<transitionPoint>0.50036665851</transitionPoint>
<minimumHdrPercentOfScreen>0.1</minimumHdrPercentOfScreen>
<minimumLux>8700</minimumLux>
<timing>
<timeWindowSecs>1800</timeWindowSecs>
<timeMaxSecs>300</timeMaxSecs>
<timeMinSecs>60</timeMinSecs>
</timing>
<sdrHdrRatioMap>
<point>
<sdrNits>2.000</sdrNits>
<hdrRatio>8.000</hdrRatio>
</point>
<point>
<sdrNits>500.000</sdrNits>
<hdrRatio>1.5</hdrRatio>
</point>
</sdrHdrRatioMap>
</highBrightnessMode>
<screenBrightnessRampFastDecrease>0.06</screenBrightnessRampFastDecrease>
<screenBrightnessRampFastIncrease>0.06</screenBrightnessRampFastIncrease>
<screenBrightnessRampSlowDecrease>0.04</screenBrightnessRampSlowDecrease>
<screenBrightnessRampSlowIncrease>0.04</screenBrightnessRampSlowIncrease>
<screenBrightnessRampIncreaseMaxMillis>3000</screenBrightnessRampIncreaseMaxMillis>
<screenBrightnessRampDecreaseMaxMillis>3000</screenBrightnessRampDecreaseMaxMillis>
</displayConfiguration>