Valkka
1.6.1
OpenSource Video Management
|
1 #ifndef openglframefifo_HEADER_GUARD
2 #define openglframefifo_HEADER_GUARD
58 return os <<
"720p: " << ctx.n_720p <<
" / 1080p: " << ctx.n_1080p <<
" / 1440p: " << ctx.n_1440p <<
" / 4K: " << ctx.n_4K <<
" / n_setup: " << ctx.
n_setup <<
" / n_signal: " << ctx.
n_signal <<
" / flush_when_full: " << int(ctx.
flush_when_full);
102 void debugOn() {debug=
true;}
103 void debugOff(){debug=
false;}
OpenGLFrameFifoContext gl_ctx
Stack profile and overflow behaviour.
Definition: openglframefifo.h:83
bool flush_when_full
Flush when filled // <pyapi>
Definition: openglframefifo.h:53
Describes the stack structure and fifo behaviour for an OpenGLFrameFifo.
Definition: openglframefifo.h:45
std::map< BitmapType, YUVStack > yuv_stacks
Pointers to Frames s in the reservoirs.
Definition: openglframefifo.h:85
This class does a lot of things:
Definition: openglthread.h:247
Decoded YUV/RGB frame in FFMpeg format.
Definition: frame.h:360
void dumpYUVStacks()
Dump frames in OpenGLFrameFifo::yuv_stacks.
Definition: openglframefifo.cpp:223
Frame: An abstract queueable class.
Definition: frame.h:111
void allocateYUV()
Allocate YUVFrame's .. must be done after OpenGLThread has been started.
Definition: openglframefifo.cpp:82
A thread-safe combination of a fifo (first-in-first-out) queue and an associated stack.
Definition: framefifo.h:83
~OpenGLFrameFifo()
Default destructor.
Definition: openglframefifo.cpp:77
virtual void recycle_(Frame *f)
Redefined. Uses FrameFifo::recycle_. Separates configuration frames and YUVFrames.
Definition: openglframefifo.cpp:209
Definition of FrameFilter and derived classes for various purposes.
YUVFrame * prepareAVBitmapFrame(AVBitmapFrame *frame)
Tries to get a YUVFrame with correct bitmap dimensions from the stack. If success,...
Definition: openglframefifo.cpp:127
OpenGLFrameFifo(OpenGLFrameFifoContext ctx=OpenGLFrameFifoContext())
Default constructor.
Definition: openglframefifo.cpp:42
A GPU YUV frame.
Definition: frame.h:491
virtual bool writeCopy(Frame *f, bool wait=false)
Redefined. Uses FrameFifo::writeCopy. Separates configuration frames and YUVFrames.
Definition: openglframefifo.cpp:168
OpenGL calls for reserving PBOs and TEXtures, plus some auxiliary routines.
void deallocateYUV()
Deallocate YUVFrame's .. must be done before OpenGLThread exits.
Definition: openglframefifo.cpp:107
std::map< BitmapType, YUVReservoir > yuv_reservoirs
Instances of YUVFrame s.
Definition: openglframefifo.h:84
FrameFifoContext ctx
Parameters defining the stack and overflow behaviour.
Definition: framefifo.h:93
int n_signal
signals OpenGLThread // <pyapi>
Definition: openglframefifo.h:52
int n_setup
setup data // <pyapi>
Definition: openglframefifo.h:51
void YUVdiagnosis()
Brief resumen of OpenGLFrameFifo::yuv_stacks.
Definition: openglframefifo.cpp:239
A FrameFifo managed and used by OpenGLThread.
Definition: openglframefifo.h:69