Commit c9582da1 authored by Thiago Santini's avatar Thiago Santini

Removes legacy comments

parent 9d28bc25
......@@ -168,15 +168,6 @@ void Journal::store(JournalEntry journalEntry)
leftEyeVideoWriter.checkSize();
}
// synchronization test
//std::string eyeStr("eye");
//std::string fStr("f");
//eyeStr.append(std::to_string(journalEntry.index));
//eyeStr.append(".jpg");
//fStr.append(std::to_string(journalEntry.index));
//fStr.append(".jpg");
//imwrite(eyeStr, journalEntry.leftEyeFrame);
//imwrite(fStr, journalEntry.fieldFrame);
}
void Journal::setRecording(bool val)
......@@ -192,23 +183,9 @@ void Journal::setRecording(bool val)
out << "Version\t1.08\tgmtime\t" << startingDateTime.toTime_t()<< "\n";
out << journalHeader;
// TODO:
// Decide which codec to use (e.g., size, license, encoding time)
//
// Using DIVX based on initial testing:
// -good quality and size
// -most well behaved encoding time
// -license?
//int codec = CV_FOURCC('I', 'Y', 'U', 'V');
//int codec = CV_FOURCC('M', 'P', '4', '2');
//int codec = CV_FOURCC('M', 'J', 'P', 'G');
int codec = CV_FOURCC('D', 'I', 'V', 'X');
//int codec = -1;
// not tested yet (GPL, but what if we require the user to install it instead of coupling it with the application?)
//int codec = CV_FOURCC('X', 'V', 'I', 'D');
fieldVideoWriter.open(QString("field"),
codec,
masterFps,
......
#ifndef UTILS
#define UTILS
#ifndef UTILS_H
#define UTILS_H
#include <QString>
#include <QDateTime>
......@@ -13,5 +13,5 @@ QString getNamePrefix();
extern QString gCurrentSubjectName;
#endif // UTILS
#endif // UTILS_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment