MythTV  master
Macros | Variables
videoout_omx.cpp File Reference
#include "videoout_omx.h"
#include "privatedecoder_omx.h"
#include <cstddef>
#include <cassert>
#include <algorithm>
#include <vector>
#include <QTransform>
#include <OMX_Core.h>
#include <OMX_Video.h>
#include "mythmainwindow.h"
#include "mythuihelper.h"
#include "mythcorecontext.h"
#include "filtermanager.h"
#include "videodisplayprofile.h"
#include "videobuffers.h"
#include "omxcontext.h"
Include dependency graph for videoout_omx.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("VideoOutputOMX: ")
 
#define ROUNDUP(_x, _z)   ((_x) + ((-(_x)) & ((_z) -1)) )
 
#define FRAMESETHDR(f, h)   ((f)->priv[3] = reinterpret_cast<unsigned char* >(h))
 
#define FRAMESETHDRNONE(f)   ((f)->priv[3] = nullptr)
 
#define FRAME2HDR(f)   ((OMX_BUFFERHEADERTYPE*)((f)->priv[3]))
 
#define HDR2FRAME(h)   ((VideoFrame*)((h)->pAppPrivate))
 
#define VIDEO_RENDER   "video_render"
 
#define IMAGE_FX   "image_fx"
 

Variables

const int kNumBuffers = 11
 
const int kMinBuffers = 5
 
const int kNeedFreeFrames = 1
 
const int kPrebufferFramesNormal = 1
 
const int kPrebufferFramesSmall = 1
 
const int kKeepPrebuffer = 1
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("VideoOutputOMX: ")

Definition at line 56 of file videoout_omx.cpp.

◆ ROUNDUP

#define ROUNDUP (   _x,
  _z 
)    ((_x) + ((-(_x)) & ((_z) -1)) )

Definition at line 59 of file videoout_omx.cpp.

◆ FRAMESETHDR

#define FRAMESETHDR (   f,
 
)    ((f)->priv[3] = reinterpret_cast<unsigned char* >(h))

Definition at line 62 of file videoout_omx.cpp.

◆ FRAMESETHDRNONE

#define FRAMESETHDRNONE (   f)    ((f)->priv[3] = nullptr)

Definition at line 63 of file videoout_omx.cpp.

◆ FRAME2HDR

#define FRAME2HDR (   f)    ((OMX_BUFFERHEADERTYPE*)((f)->priv[3]))

Definition at line 64 of file videoout_omx.cpp.

◆ HDR2FRAME

#define HDR2FRAME (   h)    ((VideoFrame*)((h)->pAppPrivate))

Definition at line 65 of file videoout_omx.cpp.

◆ VIDEO_RENDER

#define VIDEO_RENDER   "video_render"

Definition at line 72 of file videoout_omx.cpp.

◆ IMAGE_FX

#define IMAGE_FX   "image_fx"

Definition at line 73 of file videoout_omx.cpp.

Variable Documentation

◆ kNumBuffers

const int kNumBuffers = 11

Definition at line 225 of file videoout_omx.cpp.

Referenced by VideoOutputOMX::Init().

◆ kMinBuffers

const int kMinBuffers = 5

Definition at line 226 of file videoout_omx.cpp.

Referenced by VideoOutputOMX::Init().

◆ kNeedFreeFrames

const int kNeedFreeFrames = 1

Definition at line 227 of file videoout_omx.cpp.

Referenced by VideoOutputOMX::Init().

◆ kPrebufferFramesNormal

const int kPrebufferFramesNormal = 1

Definition at line 228 of file videoout_omx.cpp.

Referenced by VideoOutputOMX::Init().

◆ kPrebufferFramesSmall

const int kPrebufferFramesSmall = 1

Definition at line 229 of file videoout_omx.cpp.

Referenced by VideoOutputOMX::Init().

◆ kKeepPrebuffer

const int kKeepPrebuffer = 1

Definition at line 230 of file videoout_omx.cpp.

Referenced by VideoOutputOMX::Init().