MythTV  master
Macros | Functions
mythtv/programs/mythpreviewgen/main.cpp File Reference
#include "mythconfig.h"
#include <cerrno>
#include <csignal>
#include <cstdlib>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <libgen.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <QApplication>
#include <QFile>
#include <QFileInfo>
#include <QDir>
#include <QMap>
#include <QRegExp>
#include "mythcontext.h"
#include "mythcorecontext.h"
#include "mythversion.h"
#include "mythdb.h"
#include "exitcodes.h"
#include "compat.h"
#include "storagegroup.h"
#include "programinfo.h"
#include "dbcheck.h"
#include "previewgenerator.h"
#include "commandlineparser.h"
#include "mythsystemevent.h"
#include "loggingserver.h"
#include "mythlogging.h"
#include "signalhandling.h"
#include "cleanupguard.h"
Include dependency graph for mythtv/programs/mythpreviewgen/main.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("MythPreviewGen: ")
 
#define LOC_WARN   QString("MythPreviewGen, Warning: ")
 
#define LOC_ERR   QString("MythPreviewGen, Error: ")
 
#define UNUSED_FILENO   5
 

Functions

int preview_helper (uint chanid, QDateTime starttime, long long previewFrameNumber, long long previewSeconds, const QSize &previewSize, const QString &infile, const QString &outfile)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythPreviewGen: ")

Definition at line 49 of file mythtv/programs/mythpreviewgen/main.cpp.

◆ LOC_WARN

#define LOC_WARN   QString("MythPreviewGen, Warning: ")

Definition at line 50 of file mythtv/programs/mythpreviewgen/main.cpp.

◆ LOC_ERR

#define LOC_ERR   QString("MythPreviewGen, Error: ")

Definition at line 51 of file mythtv/programs/mythpreviewgen/main.cpp.

◆ UNUSED_FILENO

#define UNUSED_FILENO   5

Definition at line 55 of file mythtv/programs/mythpreviewgen/main.cpp.

Function Documentation

◆ preview_helper()

int preview_helper ( uint  chanid,
QDateTime  starttime,
long long  previewFrameNumber,
long long  previewSeconds,
const QSize &  previewSize,
const QString &  infile,
const QString &  outfile 
)

Definition at line 70 of file mythtv/programs/mythpreviewgen/main.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 134 of file mythtv/programs/mythpreviewgen/main.cpp.