From d046b7dd3e019a4e5bf22eb06ef5ac48f8acfb20 Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 3 Apr 2017 17:23:27 +0200 Subject: [PATCH] ATV Demodulator: New frame rates and number of lines --- plugins/channelrx/demodatv/atvdemodgui.cpp | 30 ++++++++++++++++++++++ plugins/channelrx/demodatv/atvdemodgui.ui | 30 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/plugins/channelrx/demodatv/atvdemodgui.cpp b/plugins/channelrx/demodatv/atvdemodgui.cpp index 648a4f439..080648dbe 100644 --- a/plugins/channelrx/demodatv/atvdemodgui.cpp +++ b/plugins/channelrx/demodatv/atvdemodgui.cpp @@ -699,6 +699,12 @@ float ATVDemodGUI::getFps(int fpsIndex) case 3: return 16.0f; break; + case 4: + return 12.0f; + break; + case 5: + return 10.0f; + break; case 0: default: return 25.0f; @@ -718,6 +724,18 @@ float ATVDemodGUI::getNominalLineTime(int nbLinesIndex, int fpsIndex) case 2: return 1.0f / (405 * fps); 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: default: return 1.0f / (625 * fps); @@ -735,6 +753,18 @@ int ATVDemodGUI::getNumberOfLines(int nbLinesIndex) case 2: return 405; break; + case 3: + return 343; + break; + case 4: + return 240; + break; + case 5: + return 180; + break; + case 6: + return 90; + break; case 0: default: return 625; diff --git a/plugins/channelrx/demodatv/atvdemodgui.ui b/plugins/channelrx/demodatv/atvdemodgui.ui index 2d513705b..318171a7c 100644 --- a/plugins/channelrx/demodatv/atvdemodgui.ui +++ b/plugins/channelrx/demodatv/atvdemodgui.ui @@ -522,6 +522,26 @@ 405 + + + 343 + + + + + 240 + + + + + 180 + + + + + 90 + + @@ -549,6 +569,16 @@ 16 Fps + + + 12 Fps + + + + + 10 Fps + +