1.5X resolution scaler option

This commit is contained in:
Matías Locatti 2023-01-13 02:34:24 -03:00
parent 0e8f98a441
commit 3ba53f2511
3 changed files with 15 additions and 5 deletions

View file

@ -129,6 +129,10 @@ void UpdateRescalingInfo() {
info.up_scale = 1; info.up_scale = 1;
info.down_shift = 0; info.down_shift = 0;
break; break;
case ResolutionSetup::Res3_2X:
info.up_scale = 3;
info.down_shift = 1;
break;
case ResolutionSetup::Res2X: case ResolutionSetup::Res2X:
info.up_scale = 2; info.up_scale = 2;
info.down_shift = 0; info.down_shift = 0;

View file

@ -56,11 +56,12 @@ enum class ResolutionSetup : u32 {
Res1_2X = 0, Res1_2X = 0,
Res3_4X = 1, Res3_4X = 1,
Res1X = 2, Res1X = 2,
Res2X = 3, Res3_2X = 3,
Res3X = 4, Res2X = 4,
Res4X = 5, Res3X = 5,
Res5X = 6, Res4X = 6,
Res6X = 7, Res5X = 7,
Res6X = 8,
}; };
enum class ScalingFilter : u32 { enum class ScalingFilter : u32 {

View file

@ -364,6 +364,11 @@
<string>1X (720p/1080p)</string> <string>1X (720p/1080p)</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>1.5X (1080p/1620p) [EXPERIMENTAL]</string>
</property>
</item>
<item> <item>
<property name="text"> <property name="text">
<string>2X (1440p/2160p)</string> <string>2X (1440p/2160p)</string>