Subversion Repositories seema-scanner

Rev

Rev 182 | Rev 199 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 182 Rev 192
Line 2... Line 2...
2
 
2
 
3
#include "AlgorithmGrayCode.h"
3
#include "AlgorithmGrayCode.h"
4
#include "AlgorithmGrayCodeHorzVert.h"
4
#include "AlgorithmGrayCodeHorzVert.h"
5
#include "AlgorithmPhaseShiftTwoFreq.h"
5
#include "AlgorithmPhaseShiftTwoFreq.h"
6
#include "AlgorithmPhaseShiftThreeFreq.h"
6
#include "AlgorithmPhaseShiftThreeFreq.h"
-
 
7
#include "AlgorithmPhaseShiftEmbedded.h"
7
#include "AlgorithmLineShift.h"
8
#include "AlgorithmLineShift.h"
8
 
9
 
9
#include <QCoreApplication>
10
#include <QCoreApplication>
10
#include <QTime>
11
#include <QTime>
11
#include <QSettings>
12
#include <QSettings>
Line 64... Line 65...
64
        algorithm = new AlgorithmGrayCodeHorzVert(screenCols, screenRows);
65
        algorithm = new AlgorithmGrayCodeHorzVert(screenCols, screenRows);
65
    else if(codec == "PhaseShiftTwoFreq")
66
    else if(codec == "PhaseShiftTwoFreq")
66
        algorithm = new AlgorithmPhaseShiftTwoFreq(screenCols, screenRows);
67
        algorithm = new AlgorithmPhaseShiftTwoFreq(screenCols, screenRows);
67
    else if(codec == "PhaseShiftThreeFreq")
68
    else if(codec == "PhaseShiftThreeFreq")
68
        algorithm = new AlgorithmPhaseShiftThreeFreq(screenCols, screenRows);
69
        algorithm = new AlgorithmPhaseShiftThreeFreq(screenCols, screenRows);
-
 
70
    else if(codec == "PhaseShiftEmbedded")
-
 
71
        algorithm = new AlgorithmPhaseShiftEmbedded(screenCols, screenRows);
69
    else if(codec == "LineShift")
72
    else if(codec == "LineShift")
70
        algorithm = new AlgorithmLineShift(screenCols, screenRows);
73
        algorithm = new AlgorithmLineShift(screenCols, screenRows);
71
    else
74
    else
72
        std::cerr << "SMCaptureWorker: invalid codec " << codec.toStdString() << std::endl;
75
        std::cerr << "SMCaptureWorker: invalid codec " << codec.toStdString() << std::endl;
73
 
76