VideoCore: Add more rescaling option.
This commit is contained in:
parent
d37d10e7a7
commit
e7fc60406e
3 changed files with 38 additions and 7 deletions
|
@ -116,6 +116,11 @@ void UpdateRescalingInfo() {
|
|||
info.down_shift = 1;
|
||||
info.downscale = true;
|
||||
break;
|
||||
case ResolutionSetup::Res3_4X:
|
||||
info.up_scale = 3;
|
||||
info.down_shift = 2;
|
||||
info.downscale = true;
|
||||
break;
|
||||
case ResolutionSetup::Res1X:
|
||||
info.up_scale = 1;
|
||||
info.down_shift = 0;
|
||||
|
@ -132,6 +137,14 @@ void UpdateRescalingInfo() {
|
|||
info.up_scale = 4;
|
||||
info.down_shift = 0;
|
||||
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:
|
||||
UNREACHABLE();
|
||||
info.up_scale = 1;
|
||||
|
|
|
@ -54,10 +54,13 @@ enum class NvdecEmulation : u32 {
|
|||
|
||||
enum class ResolutionSetup : u32 {
|
||||
Res1_2X = 0,
|
||||
Res1X = 1,
|
||||
Res2X = 2,
|
||||
Res3X = 3,
|
||||
Res4X = 4,
|
||||
Res3_4X = 1,
|
||||
Res1X = 2,
|
||||
Res2X = 3,
|
||||
Res3X = 4,
|
||||
Res4X = 5,
|
||||
Res5X = 6,
|
||||
Res6X = 7,
|
||||
};
|
||||
|
||||
enum class ScalingFilter : u32 {
|
||||
|
|
|
@ -335,7 +335,12 @@
|
|||
<widget class="QComboBox" name="resolution_combobox">
|
||||
<item>
|
||||
<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>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -350,12 +355,22 @@
|
|||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>3X (2160p[4K]/3240p[6K])</string>
|
||||
<string>3X (2160p[4K]/3240p)</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<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>
|
||||
</item>
|
||||
</widget>
|
||||
|
|
Loading…
Reference in a new issue