MythTV  master
Macros | Enumerations | Functions | Variables
ClassicCommDetector.cpp File Reference
#include <sys/time.h>
#include <cmath>
#include <algorithm>
#include <iostream>
#include <chrono>
#include <thread>
#include <QString>
#include <QCoreApplication>
#include "mythmiscutil.h"
#include "mythcontext.h"
#include "programinfo.h"
#include "mythplayer.h"
#include "ClassicCommDetector.h"
#include "ClassicLogoDetector.h"
#include "ClassicSceneChangeDetector.h"
Include dependency graph for ClassicCommDetector.cpp:

Go to the source code of this file.

Macros

#define FORMAT_MSG(first, fbp)
 

Enumerations

enum  frameAspects { COMM_ASPECT_NORMAL = 0, COMM_ASPECT_WIDE }
 
enum  frameFormats { COMM_FORMAT_NORMAL = 0, COMM_FORMAT_LETTERBOX = 1, COMM_FORMAT_PILLARBOX = 2, COMM_FORMAT_MAX = 4 }
 

Functions

static QString toStringFrameMaskValues (int mask, bool verbose)
 
static QString toStringFrameAspects (int aspect, bool verbose)
 
static QString toStringFrameFormats (int format, bool verbose)
 

Variables

enum frameAspects FrameAspects
 
enum frameFormats FrameFormats
 

Macro Definition Documentation

◆ FORMAT_MSG

#define FORMAT_MSG (   first,
  fbp 
)
Value:
msgformat.arg((first), 5) \
.arg((int)((fbp)->start / m_fps) / 60, 3) \
.arg((int)(((fbp)->start / m_fps )) % 60, 2, 10, QChar('0')) \
.arg((fbp)->start, 6) \
.arg((fbp)->end, 6) \
.arg((fbp)->frames, 6) \
.arg((fbp)->length, 7, 'f', 2) \
.arg((fbp)->bfCount, 3) \
.arg((fbp)->logoCount, 6) \
.arg((fbp)->ratingCount, 6) \
.arg((fbp)->scCount, 6) \
.arg((fbp)->scRate, 5, 'f', 2) \
.arg((fbp)->formatMatch, 6) \
.arg((fbp)->aspectMatch, 6) \
.arg((fbp)->score, 5);
const char * frames[3]
Definition: element.c:46

Definition at line 1175 of file ClassicCommDetector.cpp.

Enumeration Type Documentation

◆ frameAspects

Enumerator
COMM_ASPECT_NORMAL 
COMM_ASPECT_WIDE 

Definition at line 30 of file ClassicCommDetector.cpp.

◆ frameFormats

Enumerator
COMM_FORMAT_NORMAL 
COMM_FORMAT_LETTERBOX 
COMM_FORMAT_PILLARBOX 
COMM_FORMAT_MAX 

Definition at line 38 of file ClassicCommDetector.cpp.

Function Documentation

◆ toStringFrameMaskValues()

static QString toStringFrameMaskValues ( int  mask,
bool  verbose 
)
static

Definition at line 45 of file ClassicCommDetector.cpp.

Referenced by FrameInfoEntry::toString().

◆ toStringFrameAspects()

static QString toStringFrameAspects ( int  aspect,
bool  verbose 
)
static

Definition at line 82 of file ClassicCommDetector.cpp.

Referenced by FrameInfoEntry::toString().

◆ toStringFrameFormats()

static QString toStringFrameFormats ( int  format,
bool  verbose 
)
static

Definition at line 89 of file ClassicCommDetector.cpp.

Referenced by FrameInfoEntry::toString().

Variable Documentation

◆ FrameAspects

enum frameAspects FrameAspects

◆ FrameFormats

enum frameFormats FrameFormats