1 #ifndef rgbframefifo_HEADER_GUARD
2 #define rgbframefifo_HEADER_GUARD
41 RGBFrameFifoContext(
int max_width,
int max_height,
int n) : max_width(max_width), max_height(max_height), n(n), flush_when_full(
false) {};
69 RGBReservoir rgb_reservoir;
A thread-safe combination of a fifo (first-in-first-out) queue and an associated stack.
Definition: framefifo.h:83
FrameFifoContext ctx
Parameters defining the stack and overflow behaviour.
Definition: framefifo.h:93
Frame: An abstract queueable class.
Definition: frame.h:112
A FrameFifo for RGBFrame s.
Definition: rgbframefifo.h:56
virtual void recycle_(Frame *f)
Redefined. Uses FrameFifo::recycle_. Separates configuration frames and YUVFrames.
Definition: rgbframefifo.cpp:106
virtual bool writeCopy(Frame *f, bool wait=false)
Redefined. Uses FrameFifo::writeCopy. Separates configuration frames and YUVFrames.
Definition: rgbframefifo.cpp:57
RGBFrameFifo(RGBFrameFifoContext ctx)
Default constructor.
Definition: rgbframefifo.cpp:40
~RGBFrameFifo()
Default destructor.
Definition: rgbframefifo.cpp:50
Thread safe system of fifo and a stack.
Definition: rgbframefifo.h:40