1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-13 11:51:47 -05:00

ATV: implemented 8 FPS

This commit is contained in:
f4exb 2017-04-05 05:01:01 +02:00
parent ee548d2214
commit 645329b6c6
4 changed files with 63 additions and 14 deletions

View File

@ -690,7 +690,7 @@ float ATVDemodGUI::getFps(int fpsIndex)
{
switch(fpsIndex)
{
case 1:
case 0:
return 30.0f;
break;
case 2:
@ -705,7 +705,10 @@ float ATVDemodGUI::getFps(int fpsIndex)
case 5:
return 10.0f;
break;
case 0:
case 6:
return 8.0f;
break;
case 1:
default:
return 25.0f;
break;

View File

@ -496,6 +496,13 @@
</property>
<item>
<layout class="QHBoxLayout" name="buttonsLayout">
<item>
<widget class="QLabel" name="mbLinesLabel">
<property name="text">
<string>L:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="nbLines">
<property name="maximumSize">
@ -554,56 +561,87 @@
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="fpsLabel">
<property name="text">
<string>F:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="fps">
<property name="maximumSize">
<size>
<width>45</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>Frames per second</string>
</property>
<item>
<property name="text">
<string comment="25">25 Fps</string>
<string comment="25">30</string>
</property>
</item>
<item>
<property name="text">
<string comment="30">30 Fps</string>
<string comment="30">25</string>
</property>
</item>
<item>
<property name="text">
<string>20 Fps</string>
<string>20</string>
</property>
</item>
<item>
<property name="text">
<string>16 Fps</string>
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>12 Fps</string>
<string>12</string>
</property>
</item>
<item>
<property name="text">
<string>10 Fps</string>
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QLabel" name="standardLabel">
<property name="text">
<string>S:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="standard">
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>TV standard scheme</string>
</property>
<item>
<property name="text">
<string>PAL625L</string>
<string>PAL625</string>
</property>
</item>
<item>
<property name="text">
<string>PAL525L</string>
<string>PAL525</string>
</property>
</item>
<item>
@ -613,12 +651,12 @@
</item>
<item>
<property name="text">
<string>SHi</string>
<string>ShI</string>
</property>
</item>
<item>
<property name="text">
<string>SHni</string>
<string>ShNI</string>
</property>
</item>
<item>

View File

@ -320,6 +320,9 @@ int ATVModGUI::getFPS()
case 5:
return 10;
break;
case 6:
return 8;
break;
case 1:
default:
return 25;

View File

@ -634,6 +634,11 @@
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>8</string>
</property>
</item>
</widget>
</item>
<item>
@ -671,12 +676,12 @@
</item>
<item>
<property name="text">
<string>SHi</string>
<string>ShI</string>
</property>
</item>
<item>
<property name="text">
<string>SHni</string>
<string>ShNI</string>
</property>
</item>
<item>