MythTV  master
Macros | Functions
mythframe.cpp File Reference
#include <mythtimer.h>
#include "mythconfig.h"
#include "mythframe.h"
#include "mythcorecontext.h"
#include "mythlogging.h"
Include dependency graph for mythframe.cpp:

Go to the source code of this file.

Macros

#define __MAX(a, b)   ( ((a) > (b)) ? (a) : (b) )
 
#define __MIN(a, b)   ( ((a) < (b)) ? (a) : (b) )
 

Functions

const char * format_description (VideoFrameType Type)
 
static void splitplanes (uint8_t *dstu, int dstu_pitch, uint8_t *dstv, int dstv_pitch, const uint8_t *src, int src_pitch, int width, int height)
 
void framecopy (VideoFrame *dst, const VideoFrame *src, bool useSSE)
 
int ColorDepth (int Format)
 Return the color depth for the given MythTV frame format. More...
 
MythDeintType GetSingleRateOption (const VideoFrame *Frame, MythDeintType Type, MythDeintType Override)
 
MythDeintType GetDoubleRateOption (const VideoFrame *Frame, MythDeintType Type, MythDeintType Override)
 
MythDeintType GetDeinterlacer (MythDeintType Option)
 

Macro Definition Documentation

◆ __MAX

#define __MAX (   a,
 
)    ( ((a) > (b)) ? (a) : (b) )

Definition at line 78 of file mythframe.cpp.

◆ __MIN

#define __MIN (   a,
 
)    ( ((a) < (b)) ? (a) : (b) )

Definition at line 81 of file mythframe.cpp.

Function Documentation

◆ format_description()

const char* format_description ( VideoFrameType  Type)

◆ splitplanes()

static void splitplanes ( uint8_t *  dstu,
int  dstu_pitch,
uint8_t *  dstv,
int  dstv_pitch,
const uint8_t *  src,
int  src_pitch,
int  width,
int  height 
)
static

Definition at line 310 of file mythframe.cpp.

Referenced by MythUSWCCopy::copy(), and framecopy().

◆ framecopy()

void framecopy ( VideoFrame dst,
const VideoFrame src,
bool  useSSE 
)

Definition at line 328 of file mythframe.cpp.

Referenced by copy().

◆ ColorDepth()

int ColorDepth ( int  Format)

◆ GetSingleRateOption()

MythDeintType GetSingleRateOption ( const VideoFrame Frame,
MythDeintType  Type,
MythDeintType  Override 
)

◆ GetDoubleRateOption()

MythDeintType GetDoubleRateOption ( const VideoFrame Frame,
MythDeintType  Type,
MythDeintType  Override 
)

◆ GetDeinterlacer()

MythDeintType GetDeinterlacer ( MythDeintType  Option)

Definition at line 866 of file mythframe.cpp.

Referenced by DeinterlacerName(), GetDoubleRateOption(), and GetSingleRateOption().