MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Classes | Functions | Variables
mythplugins/mytharchive/mytharchivehelper/main.cpp File Reference

Go to the source code of this file.

Classes

class  NativeArchive
class  MythArchiveHelperCommandLineParser

Functions

static bool createISOImage (QString &sourceDirectory)
static int burnISOImage (int mediaType, bool bEraseDVDRW, bool nativeFormat)
static int doBurnDVD (int mediaType, bool bEraseDVDRW, bool nativeFormat)
static QString fixFilename (const QString &filename)
static void clearArchiveTable (void)
static int doNativeArchive (const QString &jobFile)
static int doImportArchive (const QString &inFile, int chanID)
static int myth_sws_img_convert (AVPicture *dst, PixelFormat dst_pix_fmt, AVPicture *src, PixelFormat pix_fmt, int width, int height)
static int grabThumbnail (QString inFile, QString thumbList, QString outFile, int frameCount)
static int64_t getFrameCount (AVFormatContext *inputFC, int vid_id)
static int64_t getCutFrames (const QString &filename, int64_t lastFrame)
static int64_t getFrameCount (const QString &filename, float fps)
static int getFileInfo (QString inFile, QString outFile, int lenMethod)
static int getDBParamters (QString outFile)
static int isRemote (QString filename)
int main (int argc, char **argv)

Variables

static QRegExp badChars = QRegExp("(/|\\\\|:|\'|\"|\\?|\\|)")

Function Documentation

static bool createISOImage ( QString &  sourceDirectory)
static
static int burnISOImage ( int  mediaType,
bool  bEraseDVDRW,
bool  nativeFormat 
)
static
static int doBurnDVD ( int  mediaType,
bool  bEraseDVDRW,
bool  nativeFormat 
)
static

Definition at line 240 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

static QString fixFilename ( const QString &  filename)
static
static void clearArchiveTable ( void  )
static
static int doNativeArchive ( const QString &  jobFile)
static

Definition at line 1554 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

static int doImportArchive ( const QString &  inFile,
int  chanID 
)
static

Definition at line 1577 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

static int myth_sws_img_convert ( AVPicture dst,
PixelFormat  dst_pix_fmt,
AVPicture src,
PixelFormat  pix_fmt,
int  width,
int  height 
)
static
static int grabThumbnail ( QString  inFile,
QString  thumbList,
QString  outFile,
int  frameCount 
)
static

Definition at line 1609 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

static int64_t getFrameCount ( AVFormatContext *  inputFC,
int  vid_id 
)
static

Definition at line 1813 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by getFileInfo().

static int64_t getCutFrames ( const QString &  filename,
int64_t  lastFrame 
)
static

Definition at line 1834 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by getFileInfo().

static int64_t getFrameCount ( const QString &  filename,
float  fps 
)
static
static int getFileInfo ( QString  inFile,
QString  outFile,
int  lenMethod 
)
static

Definition at line 1949 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

static int getDBParamters ( QString  outFile)
static

Definition at line 2238 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

static int isRemote ( QString  filename)
static

Definition at line 2264 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Variable Documentation

QRegExp badChars = QRegExp("(/|\\\\|:|\'|\"|\\?|\\|)")
static

Definition at line 396 of file mythplugins/mytharchive/mytharchivehelper/main.cpp.

Referenced by fixFilename().