MythTV  master
Macros | Functions
privatedecoder_crystalhd.cpp File Reference
#include "privatedecoder_crystalhd.h"
#include "mythlogging.h"
#include "mythavutil.h"
#include "fourcc.h"
#include "unistd.h"
#include "libavutil/imgutils.h"
Include dependency graph for privatedecoder_crystalhd.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("CrystalHD: ")
 
#define ERR   QString("CrystalHD Err: ")
 
#define WARN   QString("CrystalHD Warn: ")
 
#define INIT_ST   BC_STATUS st; bool ok = true
 
#define CHECK_ST
 

Functions

AVPixelFormat bcmpixfmt_to_pixfmt (BC_OUTPUT_FORMAT fmt)
 
QString device_to_string (BC_DEVICE_TYPE device)
 
QString bcmerr_to_string (BC_STATUS err)
 
QString bcmpixfmt_to_string (BC_OUTPUT_FORMAT fmt)
 
QString pulldown_to_string (int pulldown)
 
QString decoderflags_to_string (int flags)
 
QString poutflags_to_string (int flags)
 
void free_frame (VideoFrame *frame)
 
void free_buffer (PacketBuffer *buffer)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("CrystalHD: ")

Definition at line 11 of file privatedecoder_crystalhd.cpp.

◆ ERR

#define ERR   QString("CrystalHD Err: ")

Definition at line 12 of file privatedecoder_crystalhd.cpp.

◆ WARN

#define WARN   QString("CrystalHD Warn: ")

Definition at line 13 of file privatedecoder_crystalhd.cpp.

◆ INIT_ST

#define INIT_ST   BC_STATUS st; bool ok = true

Definition at line 33 of file privatedecoder_crystalhd.cpp.

◆ CHECK_ST

#define CHECK_ST
Value:
ok &= (st == BC_STS_SUCCESS); \
if (!ok) \
LOG(VB_GENERAL, LOG_ERR, LOC + QString("Error at %1:%2 (#%3, %4)") \
.arg(__FILE__).arg( __LINE__).arg(st) \
.arg(bcmerr_to_string(st)))
#define LOC
QString bcmerr_to_string(BC_STATUS err)

Definition at line 34 of file privatedecoder_crystalhd.cpp.

Function Documentation

◆ bcmpixfmt_to_pixfmt()

AVPixelFormat bcmpixfmt_to_pixfmt ( BC_OUTPUT_FORMAT  fmt)

Definition at line 946 of file privatedecoder_crystalhd.cpp.

Referenced by PrivateDecoderCrystalHD::FillFrame().

◆ device_to_string()

QString device_to_string ( BC_DEVICE_TYPE  device)

Definition at line 838 of file privatedecoder_crystalhd.cpp.

Referenced by PrivateDecoderCrystalHD::Init().

◆ bcmerr_to_string()

QString bcmerr_to_string ( BC_STATUS  err)

Definition at line 848 of file privatedecoder_crystalhd.cpp.

◆ bcmpixfmt_to_string()

QString bcmpixfmt_to_string ( BC_OUTPUT_FORMAT  fmt)

◆ pulldown_to_string()

QString pulldown_to_string ( int  pulldown)

Definition at line 895 of file privatedecoder_crystalhd.cpp.

Referenced by PrivateDecoderCrystalHD::CheckPicInfo().

◆ decoderflags_to_string()

QString decoderflags_to_string ( int  flags)

Definition at line 914 of file privatedecoder_crystalhd.cpp.

Referenced by PrivateDecoderCrystalHD::CheckPicInfo().

◆ poutflags_to_string()

QString poutflags_to_string ( int  flags)

◆ free_frame()

void free_frame ( VideoFrame frame)
inline

◆ free_buffer()

void free_buffer ( PacketBuffer buffer)
inline