28#include <libavcodec/avcodec.h>
29#include <libavfilter/avfilter.h>
32#include <vdr/thread.h>
103 void InitAndStart(
const AVCodecContext *, AVFrame *,
bool);
virtual void Action(void)
virtual void Action(void)
virtual void Action(void)
void InitAndStart(const AVCodecContext *, AVFrame *, bool)
Init and start the video filter thread.
int GetNumFramesToFilter(void)
AVFilterContext * m_pBuffersinkCtx
void PushFrame(AVFrame *)
Put a frame in the buffer to be filtered.
cQueue< cDrmBuffer > * m_pDrmBufferQueue
pointer to renderer's DRM buffer queue
bool IsInputBufferFull(void)
void SetFilterOutputPixFormat(AVPixelFormat)
Setup the filter output pixel format.
AVFilterContext * m_pBuffersrcCtx
bool m_filterBug
flag for a ffmpeg bug
AVFilterGraph * m_pFilterGraph
int m_numFramesToFilter
number of frames to be filtered
std::function< void(AVFrame *)> m_frameOutput
function to output the frame
cQueue< AVFrame > m_frames
queue for frames to be filtered
bool IsFull(void)
Check if the queue is full.
cSoftHdAudio - Audio class
cVideoRender - Video render class
cVideoStream - Video stream class
Misc function header file.
#define VIDEO_SURFACES_MAX
Thread-safe queue header file.