MythTV  master
Macros | Functions
mpegrecorder.cpp File Reference
#include <algorithm>
#include <chrono>
#include <cinttypes>
#include <ctime>
#include <fcntl.h>
#include <thread>
#include <unistd.h>
#include <vector>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/poll.h>
#include <linux/videodev2.h>
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/programinfo.h"
#include "cardutil.h"
#include "io/mythmediabuffer.h"
#include "mpegrecorder.h"
#include "recordingprofile.h"
#include "tv_rec.h"
Include dependency graph for mpegrecorder.cpp:

Go to the source code of this file.

Macros

#define LOC
 

Functions

static int find_index (const std::array< const int, 14 > &audio_rate, int value)
 
static int streamtype_ivtv_to_v4l2 (int st)
 
static void add_ext_ctrl (std::vector< struct v4l2_ext_control > &ctrl_list, uint32_t id, int32_t value)
 
static void set_ctrls (int fd, std::vector< struct v4l2_ext_control > &ext_ctrls)
 

Macro Definition Documentation

◆ LOC

#define LOC
Value:
QString("MPEGRec[%1](%2): ") \
.arg(m_tvrec ? m_tvrec->GetInputId() : -1).arg(m_videodevice)

Definition at line 35 of file mpegrecorder.cpp.

Function Documentation

◆ find_index()

static int find_index ( const std::array< const int, 14 > &  audio_rate,
int  value 
)
static

Definition at line 92 of file mpegrecorder.cpp.

Referenced by MpegRecorder::SetOption().

◆ streamtype_ivtv_to_v4l2()

static int streamtype_ivtv_to_v4l2 ( int  st)
static

Definition at line 651 of file mpegrecorder.cpp.

Referenced by MpegRecorder::SetV4L2DeviceOptions().

◆ add_ext_ctrl()

static void add_ext_ctrl ( std::vector< struct v4l2_ext_control > &  ctrl_list,
uint32_t  id,
int32_t  value 
)
static

◆ set_ctrls()

static void set_ctrls ( int  fd,
std::vector< struct v4l2_ext_control > &  ext_ctrls 
)
static