MythTV  master
Macros | Functions
mythframe.cpp File Reference
#include <mythtimer.h>
#include "mythconfig.h"
#include "mythframe.h"
#include "mythcorecontext.h"
#include "mythlogging.h"
#include "libavcodec/avcodec.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

static void copyplane (uint8_t *dst, int dst_pitch, const uint8_t *src, int src_pitch, int width, int height)
 
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)
 

Macro Definition Documentation

◆ __MAX

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

Definition at line 38 of file mythframe.cpp.

◆ __MIN

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

Definition at line 41 of file mythframe.cpp.

Function Documentation

◆ copyplane()

static void copyplane ( uint8_t *  dst,
int  dst_pitch,
const uint8_t *  src,
int  src_pitch,
int  width,
int  height 
)
inlinestatic

Definition at line 270 of file mythframe.cpp.

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

◆ 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 282 of file mythframe.cpp.

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

◆ framecopy()

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

Definition at line 300 of file mythframe.cpp.

Referenced by copy().