MythTV  master
Macros | Variables
thumbfinder.cpp File Reference
#include <algorithm>
#include <cerrno>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <sys/stat.h>
#include <QApplication>
#include <QDir>
#include <QDomDocument>
#include <QFile>
#include <QPainter>
#include <mythconfig.h>
#include <libmyth/mythcontext.h>
#include <libmythbase/mythdate.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythdirs.h>
#include <libmythbase/mythmiscutil.h>
#include <libmythbase/programinfo.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythimage.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythuibutton.h>
#include <libmythui/mythuibuttonlist.h>
#include <libmythui/mythuihelper.h>
#include <libmythui/mythuiimage.h>
#include <libmythui/mythuitext.h>
#include <libavutil/imgutils.h>
#include "thumbfinder.h"
Include dependency graph for thumbfinder.cpp:

Go to the source code of this file.

Macros

#define INT64_C(v)   (v ## LL)
 

Variables

static constexpr int8_t PRE_SEEK_AMOUNT { 50 }
 
static const std::array< const SeekAmount, 9 > kSeekAmounts
 

Macro Definition Documentation

◆ INT64_C

#define INT64_C (   v)    (v ## LL)

Definition at line 64 of file thumbfinder.cpp.

Variable Documentation

◆ PRE_SEEK_AMOUNT

constexpr int8_t PRE_SEEK_AMOUNT { 50 }
staticconstexpr

Definition at line 71 of file thumbfinder.cpp.

Referenced by ThumbFinder::seekToFrame().

◆ kSeekAmounts

const std::array<const SeekAmount,9> kSeekAmounts
static
Initial value:
{{
{"frame", -1},
{"1 second", 1},
{"5 seconds", 5},
{"10 seconds", 10},
{"30 seconds", 30},
{"1 minute", 60},
{"5 minutes", 300},
{"10 minutes", 600},
{"Cut Point", -2},
}}

Definition at line 74 of file thumbfinder.cpp.

Referenced by ThumbFinder::changeSeekAmount(), ThumbFinder::Create(), ThumbFinder::seekBackward(), and ThumbFinder::seekForward().