MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / slotVisCodeDetected

Method slotVisCodeDetected

src/sstv/syncprocessor.cpp:458–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458void syncProcessor::slotVisCodeDetected(int mode,uint visSampleCounter)
459{
460 if((mode>=idxStart) && (mode<=idxEnd))
461 {
462 visMode=(esstvMode)mode;
463 if((visMode>=AVT24)&&(visMode<=AVT94))
464 {
465 enableSyncDetection=false;
466 }
467 addToLog(QString("viscode %1 accepted").arg(visMode),LOGSYNCACCEPTED);
468 idxStart=idxEnd=(esstvMode)mode;
469 minMatchedLines=3;
470 visEndCounter=visSampleCounter;
471 }
472 else
473 {
474 visMode=NOTVALID;
475 }
476}
477
478void syncProcessor::calcSyncQuality()
479{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected