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

ATV Demodulator: New frame rates and number of lines

This commit is contained in:
f4exb 2017-04-03 17:23:27 +02:00
parent 64b09910fd
commit d046b7dd3e
2 changed files with 60 additions and 0 deletions

View File

@ -699,6 +699,12 @@ float ATVDemodGUI::getFps(int fpsIndex)
case 3: case 3:
return 16.0f; return 16.0f;
break; break;
case 4:
return 12.0f;
break;
case 5:
return 10.0f;
break;
case 0: case 0:
default: default:
return 25.0f; return 25.0f;
@ -718,6 +724,18 @@ float ATVDemodGUI::getNominalLineTime(int nbLinesIndex, int fpsIndex)
case 2: case 2:
return 1.0f / (405 * fps); return 1.0f / (405 * fps);
break; break;
case 3:
return 1.0f / (343 * fps);
break;
case 4:
return 1.0f / (240 * fps);
break;
case 5:
return 1.0f / (180 * fps);
break;
case 6:
return 1.0f / (90 * fps);
break;
case 0: case 0:
default: default:
return 1.0f / (625 * fps); return 1.0f / (625 * fps);
@ -735,6 +753,18 @@ int ATVDemodGUI::getNumberOfLines(int nbLinesIndex)
case 2: case 2:
return 405; return 405;
break; break;
case 3:
return 343;
break;
case 4:
return 240;
break;
case 5:
return 180;
break;
case 6:
return 90;
break;
case 0: case 0:
default: default:
return 625; return 625;

View File

@ -522,6 +522,26 @@
<string>405</string> <string>405</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>343</string>
</property>
</item>
<item>
<property name="text">
<string>240</string>
</property>
</item>
<item>
<property name="text">
<string>180</string>
</property>
</item>
<item>
<property name="text">
<string>90</string>
</property>
</item>
</widget> </widget>
</item> </item>
<item> <item>
@ -549,6 +569,16 @@
<string>16 Fps</string> <string>16 Fps</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>12 Fps</string>
</property>
</item>
<item>
<property name="text">
<string>10 Fps</string>
</property>
</item>
</widget> </widget>
</item> </item>
<item> <item>