MythTV  master
Macros | Functions
v4lrecorder.cpp File Reference
#include <linux/videodev2.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <unistd.h>
#include <fcntl.h>
#include "libmyth/mythcontext.h"
#include "libmythbase/mythlogging.h"
#include "captions/vbi608extractor.h"
#include "v4lrecorder.h"
#include "vbitext/vbi.h"
#include "tv_rec.h"
Include dependency graph for v4lrecorder.cpp:

Go to the source code of this file.

Macros

#define TVREC_CARDNUM   ((m_tvrec != nullptr) ? QString::number(m_tvrec->GetInputId()) : "NULL")
 
#define LOC
 

Functions

static void vbi_event (void *data_in, struct vt_event *ev)
 

Macro Definition Documentation

◆ TVREC_CARDNUM

#define TVREC_CARDNUM   ((m_tvrec != nullptr) ? QString::number(m_tvrec->GetInputId()) : "NULL")

Definition at line 20 of file v4lrecorder.cpp.

◆ LOC

#define LOC
Value:
QString("V4LRec[%1](%2): ") \
.arg(TVREC_CARDNUM, m_videodevice)

Definition at line 23 of file v4lrecorder.cpp.

Function Documentation

◆ vbi_event()

static void vbi_event ( void *  data_in,
struct vt_event ev 
)
static

Definition at line 68 of file v4lrecorder.cpp.

Referenced by V4LRecorder::CloseVBIDevice(), and V4LRecorder::OpenVBIDevice().

TVREC_CARDNUM
#define TVREC_CARDNUM
Definition: v4lrecorder.cpp:20