mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-30 11:34:19 +01:00
VideoCore: Add more rescaling option.
This commit is contained in:
parent
d37d10e7a7
commit
e7fc60406e
@ -116,6 +116,11 @@ void UpdateRescalingInfo() {
|
|||||||
info.down_shift = 1;
|
info.down_shift = 1;
|
||||||
info.downscale = true;
|
info.downscale = true;
|
||||||
break;
|
break;
|
||||||
|
case ResolutionSetup::Res3_4X:
|
||||||
|
info.up_scale = 3;
|
||||||
|
info.down_shift = 2;
|
||||||
|
info.downscale = true;
|
||||||
|
break;
|
||||||
case ResolutionSetup::Res1X:
|
case ResolutionSetup::Res1X:
|
||||||
info.up_scale = 1;
|
info.up_scale = 1;
|
||||||
info.down_shift = 0;
|
info.down_shift = 0;
|
||||||
@ -132,6 +137,14 @@ void UpdateRescalingInfo() {
|
|||||||
info.up_scale = 4;
|
info.up_scale = 4;
|
||||||
info.down_shift = 0;
|
info.down_shift = 0;
|
||||||
break;
|
break;
|
||||||
|
case ResolutionSetup::Res5X:
|
||||||
|
info.up_scale = 5;
|
||||||
|
info.down_shift = 0;
|
||||||
|
break;
|
||||||
|
case ResolutionSetup::Res6X:
|
||||||
|
info.up_scale = 6;
|
||||||
|
info.down_shift = 0;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
info.up_scale = 1;
|
info.up_scale = 1;
|
||||||
|
@ -54,10 +54,13 @@ enum class NvdecEmulation : u32 {
|
|||||||
|
|
||||||
enum class ResolutionSetup : u32 {
|
enum class ResolutionSetup : u32 {
|
||||||
Res1_2X = 0,
|
Res1_2X = 0,
|
||||||
Res1X = 1,
|
Res3_4X = 1,
|
||||||
Res2X = 2,
|
Res1X = 2,
|
||||||
Res3X = 3,
|
Res2X = 3,
|
||||||
Res4X = 4,
|
Res3X = 4,
|
||||||
|
Res4X = 5,
|
||||||
|
Res5X = 6,
|
||||||
|
Res6X = 7,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class ScalingFilter : u32 {
|
enum class ScalingFilter : u32 {
|
||||||
|
@ -335,7 +335,12 @@
|
|||||||
<widget class="QComboBox" name="resolution_combobox">
|
<widget class="QComboBox" name="resolution_combobox">
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>0.5X (360p/540p)</string>
|
<string>0.5X (360p/540p)[MAY BREAK]</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>0.75X (540p/810p)[MAY BREAK]</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -350,12 +355,22 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>3X (2160p[4K]/3240p[6K])</string>
|
<string>3X (2160p[4K]/3240p)</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>4X (2880p/4320p[8K])</string>
|
<string>4X (2880p/4320p)</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>5X (3600p/5400p)</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>6X (4320p/6480p)</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user