MythTV  master
Classes | Macros | Typedefs | Enumerations | Functions
mythframe.h File Reference
#include "mythtvexp.h"
#include "mythaverror.h"
#include <array>
#include <vector>
Include dependency graph for mythframe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MythVideoFrame
 

Macros

#define MYTH_WIDTH_ALIGNMENT   64
 
#define MYTH_HEIGHT_ALIGNMENT   16
 

Typedefs

using VideoFrameTypes = std::vector< VideoFrameType >
 
using FramePitches = std::array< int, 3 >
 
using FrameOffsets = std::array< int, 3 >
 

Enumerations

enum  VideoFrameType {
  FMT_NONE = -1, FMT_YV12 = 0, FMT_YUV420P9, FMT_YUV420P10,
  FMT_YUV420P12, FMT_YUV420P14, FMT_YUV420P16, FMT_RGB24,
  FMT_BGRA, FMT_RGB32, FMT_ARGB32, FMT_RGBA32,
  FMT_YUV422P, FMT_YUV422P9, FMT_YUV422P10, FMT_YUV422P12,
  FMT_YUV422P14, FMT_YUV422P16, FMT_YUV444P, FMT_YUV444P9,
  FMT_YUV444P10, FMT_YUV444P12, FMT_YUV444P14, FMT_YUV444P16,
  FMT_YUY2, FMT_NV12, FMT_P010, FMT_P016,
  FMT_VDPAU, FMT_VAAPI, FMT_DXVA2, FMT_MMAL,
  FMT_MEDIACODEC, FMT_VTB, FMT_NVDEC, FMT_DRMPRIME
}
 
enum  MythDeintType {
  DEINT_NONE = 0x0000, DEINT_BASIC = 0x0001, DEINT_MEDIUM = 0x0002, DEINT_HIGH = 0x0004,
  DEINT_CPU = 0x0010, DEINT_SHADER = 0x0020, DEINT_DRIVER = 0x0040, DEINT_ALL = 0x0077
}
 

Functions

MythDeintType operator| (MythDeintType a, MythDeintType b)
 
MythDeintType operator& (MythDeintType a, MythDeintType b)
 
MythDeintType operator~ (MythDeintType a)
 

Macro Definition Documentation

◆ MYTH_WIDTH_ALIGNMENT

#define MYTH_WIDTH_ALIGNMENT   64

Definition at line 12 of file mythframe.h.

◆ MYTH_HEIGHT_ALIGNMENT

#define MYTH_HEIGHT_ALIGNMENT   16

Definition at line 13 of file mythframe.h.

Typedef Documentation

◆ VideoFrameTypes

using VideoFrameTypes = std::vector<VideoFrameType>

Definition at line 78 of file mythframe.h.

◆ FramePitches

using FramePitches = std::array<int,3>

Definition at line 79 of file mythframe.h.

◆ FrameOffsets

using FrameOffsets = std::array<int,3>

Definition at line 80 of file mythframe.h.

Enumeration Type Documentation

◆ VideoFrameType

Enumerator
FMT_NONE 
FMT_YV12 
FMT_YUV420P9 
FMT_YUV420P10 
FMT_YUV420P12 
FMT_YUV420P14 
FMT_YUV420P16 
FMT_RGB24 
FMT_BGRA 
FMT_RGB32 

endian dependent format, ARGB or BGRA

FMT_ARGB32 
FMT_RGBA32 
FMT_YUV422P 
FMT_YUV422P9 
FMT_YUV422P10 
FMT_YUV422P12 
FMT_YUV422P14 
FMT_YUV422P16 
FMT_YUV444P 
FMT_YUV444P9 
FMT_YUV444P10 
FMT_YUV444P12 
FMT_YUV444P14 
FMT_YUV444P16 
FMT_YUY2 
FMT_NV12 
FMT_P010 
FMT_P016 
FMT_VDPAU 
FMT_VAAPI 
FMT_DXVA2 
FMT_MMAL 
FMT_MEDIACODEC 
FMT_VTB 
FMT_NVDEC 
FMT_DRMPRIME 

Definition at line 15 of file mythframe.h.

◆ MythDeintType

Enumerator
DEINT_NONE 
DEINT_BASIC 
DEINT_MEDIUM 
DEINT_HIGH 
DEINT_CPU 
DEINT_SHADER 
DEINT_DRIVER 
DEINT_ALL 

Definition at line 62 of file mythframe.h.

Function Documentation

◆ operator|()

MythDeintType operator| ( MythDeintType  a,
MythDeintType  b 
)
inline

Definition at line 74 of file mythframe.h.

◆ operator&()

MythDeintType operator& ( MythDeintType  a,
MythDeintType  b 
)
inline

Definition at line 75 of file mythframe.h.

◆ operator~()

MythDeintType operator~ ( MythDeintType  a)
inline

Definition at line 76 of file mythframe.h.