screenshot, etc

pull/1/merge
Oona 2011-09-11 10:04:46 +03:00
rodzic 2cf9b35a86
commit 168915c9cd
4 zmienionych plików z 5 dodań i 8 usunięć

Wyświetl plik

@ -3,6 +3,8 @@ slowrx
Slowrx is an [SSTV](http://en.wikipedia.org/wiki/Slow-scan%20television) decoder that aims for intuitive simplicity and lack of features not needed by a shortwave listener (SWL).
![Screenshot](http://www.cs.helsinki.fi/u/okraisan/shot-slowrx.png)
Features
--------

5
fsk.c
Wyświetl plik

@ -76,8 +76,7 @@ void GetFSK (char *dest) {
TestNum = 0;
for (i=0; i<12; i++) TestNum |= TestBits[(TestPtr - (23-i*2)) % 24] << (11-i);
if (BitRev[(TestNum >> 6) & 0x3f] == 0x20 &&
BitRev[(TestNum >> 0) & 0x3f] == 0x2a) {
if (BitRev[(TestNum >> 6) & 0x3f] == 0x20 && BitRev[TestNum & 0x3f] == 0x2a) {
InSync = true;
AsciiByte = 0;
BitPtr = 0;
@ -91,7 +90,7 @@ void GetFSK (char *dest) {
AsciiByte |= Bit << BitPtr;
if (++BitPtr == 6) {
if (AsciiByte == 0x01 || BytePtr > 9) break;
if (AsciiByte < 0x0d || BytePtr > 9) break;
dest[BytePtr] = AsciiByte + 0x20;
BitPtr = 0;
AsciiByte = 0;

Wyświetl plik

@ -215,8 +215,6 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="column_homogeneous">True</property>
<property name="n_rows">5</property>
<property name="n_columns">2</property>
<child>
<object class="GtkToggleButton" id="TogSlant">
<property name="label" translatable="yes">AutoSlant</property>
@ -516,8 +514,6 @@
<property name="can_focus">False</property>
<property name="row_spacing">4</property>
<property name="column_spacing">4</property>
<property name="n_rows">2</property>
<property name="n_columns">2</property>
<child>
<object class="GtkLabel" id="label10">
<property name="visible">True</property>

Wyświetl plik

@ -99,7 +99,7 @@ bool GetVideo(guchar Mode, double Rate, int Skip, bool Redraw) {
SyncTargetBin = GetBin(1200+HedrShift, FFTLen);
LopassBin = GetBin(3000, FFTLen);
Abort = false;
SyncSampleNum = 0;
SyncSampleNum = 0;
// Loop through signal
for (SampleNum = 0; SampleNum < Length; SampleNum++) {